Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001844/0.001844, allocations: 108.3 kB / 19.7 MB, free: 1.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002543/0.002543, allocations: 211.6 kB / 22.99 MB, free: 4.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.508/1.508, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.982/0.982, allocations: 149.9 MB / 463 MB, free: 10.42 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002288/0.002288, allocations: 70.34 kB / 0.6411 GB, free: 10.19 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1899/0.1922, allocations: 89.17 MB / 0.7282 GB, free: 1.086 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.0153/0.2075, allocations: 10.31 MB / 0.7382 GB, free: 6.73 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01658/0.2241, allocations: 8.492 MB / 0.7465 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001549/0.2257, allocations: 91.19 kB / 0.7466 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004981/0.2306, allocations: 1.675 MB / 0.7483 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006108/0.2368, allocations: 1.571 MB / 0.7498 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002344/0.2391, allocations: 0.6714 MB / 0.7504 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004393/0.2435, allocations: 2.293 MB / 0.7527 GB, free: 7.902 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002474/0.246, allocations: 1.152 MB / 0.7538 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002678/0.2486, allocations: 1.18 MB / 0.755 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002256/0.2509, allocations: 0.9256 MB / 0.7559 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005081/0.2514, allocations: 140 kB / 0.756 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002037/0.2534, allocations: 0.733 MB / 0.7567 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000856/0.2543, allocations: 0.5762 MB / 0.7573 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001605/0.2559, allocations: 0.7154 MB / 0.758 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.3676/0.6235, allocations: 2.579 MB / 0.7605 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 9.017e-06/0.6235, allocations: 0 / 0.7605 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.505e-06/0.6235, allocations: 0.5625 kB / 0.7605 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001208/0.6236, allocations: 2.062 kB / 0.7605 GB, free: 11.66 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.003507/0.6271, allocations: 1.986 MB / 0.7624 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.6272, allocations: 11.23 kB / 0.7624 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002064/0.6274, allocations: 188.6 kB / 0.7626 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01158/0.639, allocations: 2.052 MB / 0.7646 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002649/0.6416, allocations: 1.123 MB / 0.7657 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.265e-05/0.6417, allocations: 87.09 kB / 0.7658 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002367/0.6419, allocations: 116.8 kB / 0.7659 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005796/0.6477, allocations: 2.7 MB / 0.7686 GB, free: 9.484 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.669e-05/0.6478, allocations: 10.08 kB / 0.7686 GB, free: 9.484 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001468/0.6479, allocations: 54.78 kB / 0.7686 GB, free: 9.484 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003562/0.6483, allocations: 128.6 kB / 0.7687 GB, free: 9.48 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00728/0.6556, allocations: 2.546 MB / 0.7712 GB, free: 9.461 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01245/0.668, allocations: 7.671 MB / 0.7787 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006488/0.6745, allocations: 1.847 MB / 0.7805 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002909/0.6774, allocations: 0.9508 MB / 0.7814 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.75e-05/0.6775, allocations: 5.25 kB / 0.7815 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.6775, allocations: 38.88 kB / 0.7815 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=53): time 3.497e-06/0.6775, allocations: 0.6562 kB / 0.7815 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of matching and sorting (n=81): time 0.03151/0.709, allocations: 9.125 MB / 0.7904 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.709, allocations: 67.22 kB / 0.7905 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00148/0.7105, allocations: 1.114 MB / 0.7916 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001243/0.7106, allocations: 40.02 kB / 0.7916 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004083/0.711, allocations: 0.7498 MB / 0.7923 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002103/0.7113, allocations: 291.4 kB / 0.7926 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003653/0.7116, allocations: 201.5 kB / 0.7928 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.832e-05/0.7117, allocations: 343.5 kB / 0.7931 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002796/0.7145, allocations: 1.085 MB / 0.7942 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002925/0.7174, allocations: 1.314 MB / 0.7955 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005799/0.7232, allocations: 2.405 MB / 0.7978 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/0.7232, allocations: 3.125 kB / 0.7978 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008752/0.732, allocations: 3.29 MB / 0.801 GB, free: 440 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/0.732, allocations: 8.906 kB / 0.801 GB, free: 440 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/0.732, allocations: 10.34 kB / 0.801 GB, free: 440 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002942/0.7349, allocations: 0.8533 MB / 0.8019 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001994/0.7369, allocations: 412.1 kB / 0.8023 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01759/0.7545, allocations: 15.22 MB / 0.8171 GB, free: 2.578 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002463/0.757, allocations: 290.4 kB / 0.8174 GB, free: 2.445 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002535/0.7572, allocations: 56.7 kB / 0.8175 GB, free: 2.426 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009188/0.7582, allocations: 402 kB / 0.8179 GB, free: 2.145 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004185/0.7586, allocations: 151.7 kB / 0.818 GB, free: 2.066 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009106/0.7677, allocations: 3.204 MB / 0.8211 GB, free: 256 kB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.274e-05/0.7677, allocations: 11.88 kB / 0.8211 GB, free: 252 kB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-05/0.7677, allocations: 7.906 kB / 0.8211 GB, free: 252 kB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.382e-05/0.7677, allocations: 3.984 kB / 0.8211 GB, free: 248 kB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01254/0.7803, allocations: 4.692 MB / 0.8257 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/0.7803, allocations: 4 kB / 0.8257 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001774/0.7821, allocations: 355.5 kB / 0.8261 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002892/0.7849, allocations: 0.766 MB / 0.8268 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001169/0.7851, allocations: 31.97 kB / 0.8269 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01792/0.803, allocations: 14.81 MB / 0.8413 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/0.803, allocations: 4 kB / 0.8413 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009062/0.8121, allocations: 3.067 MB / 0.8443 GB, free: 9.547 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001319/0.8134, allocations: 316.9 kB / 0.8446 GB, free: 9.238 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004359/0.8138, allocations: 20 kB / 0.8446 GB, free: 9.219 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002042/0.8159, allocations: 299.5 kB / 0.8449 GB, free: 8.926 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003342/0.8162, allocations: 84.02 kB / 0.845 GB, free: 8.848 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001171/0.8163, allocations: 35.97 kB / 0.845 GB, free: 8.812 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001409/0.8177, allocations: 0.7366 MB / 0.8458 GB, free: 8.074 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7e-08/0.8177, allocations: 0 / 0.8458 GB, free: 8.074 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00194/0.8197, allocations: 451.9 kB / 0.8462 GB, free: 7.633 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009102/0.8288, allocations: 3.63 MB / 0.8497 GB, free: 3.953 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.009436/0.8382, allocations: 3.555 MB / 0.8532 GB, free: 336 kB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/0.8382, allocations: 0 / 0.8532 GB, free: 336 kB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.005338/0.8435, allocations: 2.336 MB / 0.8555 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00273/0.8463, allocations: 0.5247 MB / 0.856 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04084/0.8871, allocations: 16.24 MB / 0.8719 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001357/0.8885, allocations: 0.802 MB / 0.8726 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001678/0.8901, allocations: 379.9 kB / 0.873 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001051/0.8912, allocations: 0.593 MB / 0.8736 GB, free: 11.08 MB / 0.6544 GB Notification: Performance of SimCode: time 1.453e-06/0.8912, allocations: 0 / 0.8736 GB, free: 11.08 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1175/1.009, allocations: 46.1 MB / 0.9186 GB, free: 13.87 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.07/14.08, allocations: 13.91 kB / 0.9186 GB, free: 13.86 MB / 0.7012 GB " [Timeout remaining time 646] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.140941536054015] Failed to read output from testmodel.py, exit status != 0: 14.219449548982084 14.242313063 13.615236274 Calling exit ...