Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.001338/0.001338, allocations: 115.4 kB / 19.7 MB, free: 2.207 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.001514/0.001514, allocations: 223.6 kB / 23.01 MB, free: 5.074 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.484/1.484, allocations: 230.6 MB / 256.8 MB, free: 8.027 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.991/0.991, allocations: 150 MB / 463.2 MB, free: 10.51 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_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",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.002111/0.002111, allocations: 68.09 kB / 0.6413 GB, free: 10.39 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.1704, allocations: 89.17 MB / 0.7284 GB, free: 1.277 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.009393/0.1798, allocations: 6.987 MB / 0.7352 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005536/0.1854, allocations: 3.194 MB / 0.7383 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004558/0.1858, allocations: 39.62 kB / 0.7383 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002517/0.1883, allocations: 0.9998 MB / 0.7393 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001113/0.1895, allocations: 0.509 MB / 0.7398 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.1905, allocations: 437 kB / 0.7402 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001285/0.1917, allocations: 1.217 MB / 0.7414 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007461/0.1925, allocations: 0.5373 MB / 0.7419 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006232/0.1931, allocations: 498.2 kB / 0.7424 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007555/0.1939, allocations: 0.5448 MB / 0.7429 GB, free: 2.277 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001011/0.194, allocations: 68 kB / 0.743 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006674/0.1946, allocations: 391.2 kB / 0.7434 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003065/0.1949, allocations: 323 kB / 0.7437 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004304/0.1954, allocations: 449.8 kB / 0.7441 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001322/0.1967, allocations: 1.222 MB / 0.7453 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1967, allocations: 0 / 0.7453 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.422e-06/0.1967, allocations: 0 / 0.7453 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.237e-05/0.1967, allocations: 0 / 0.7453 GB, free: 15.84 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001921/0.1986, allocations: 1.112 MB / 0.7464 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.1987, allocations: 11.97 kB / 0.7464 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001386/0.1988, allocations: 122.7 kB / 0.7465 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001499/0.2003, allocations: 240.1 kB / 0.7468 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009775/0.2013, allocations: 0.5192 MB / 0.7473 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.609e-05/0.2013, allocations: 49.67 kB / 0.7473 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001028/0.2014, allocations: 64.36 kB / 0.7474 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001551/0.203, allocations: 1.093 MB / 0.7484 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.641e-05/0.203, allocations: 4 kB / 0.7484 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.369e-05/0.2031, allocations: 35.98 kB / 0.7485 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000156/0.2032, allocations: 89.19 kB / 0.7486 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001189/0.2044, allocations: 0.7465 MB / 0.7493 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005844/0.2103, allocations: 5.791 MB / 0.7549 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009936/0.2113, allocations: 0.5095 MB / 0.7554 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004336/0.2117, allocations: 290 kB / 0.7557 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.695e-05/0.2117, allocations: 12.38 kB / 0.7557 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.2118, allocations: 35 kB / 0.7558 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=47): time 2.505e-06/0.2118, allocations: 0 / 0.7558 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of matching and sorting (n=48): time 0.003757/0.2155, allocations: 1.69 MB / 0.7574 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/0.2156, allocations: 55.84 kB / 0.7575 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006565/0.2162, allocations: 0.5509 MB / 0.758 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.338e-05/0.2163, allocations: 37.7 kB / 0.758 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003015/0.2166, allocations: 424 kB / 0.7585 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001595/0.2167, allocations: 182.5 kB / 0.7586 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000195/0.2169, allocations: 126.6 kB / 0.7587 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001862/0.2171, allocations: 378.7 kB / 0.7591 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004292/0.2175, allocations: 273.8 kB / 0.7594 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000604/0.2182, allocations: 0.4891 MB / 0.7598 GB, free: 192 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3017/0.5198, allocations: 0.8046 MB / 0.7606 GB, free: 33.86 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.5198, allocations: 1.406 kB / 0.7606 GB, free: 33.86 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00167/0.5215, allocations: 1.077 MB / 0.7617 GB, free: 33.79 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.5215, allocations: 8.328 kB / 0.7617 GB, free: 33.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.5215, allocations: 7.438 kB / 0.7617 GB, free: 33.79 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007859/0.5223, allocations: 278.8 kB / 0.762 GB, free: 33.76 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000461/0.5228, allocations: 124.4 kB / 0.7621 GB, free: 33.76 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004733/0.5275, allocations: 6.737 MB / 0.7687 GB, free: 28.92 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005753/0.5281, allocations: 40.62 kB / 0.7687 GB, free: 28.92 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.441e-05/0.5281, allocations: 27.19 kB / 0.7687 GB, free: 28.92 MB / 0.5762 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,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.0003028/0.5285, allocations: 256.7 kB / 0.769 GB, free: 28.79 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.694e-05/0.5285, allocations: 76.8 kB / 0.769 GB, free: 28.78 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0015/0.53, allocations: 0.884 MB / 0.7699 GB, free: 28.68 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.5301, allocations: 5.375 kB / 0.7699 GB, free: 28.68 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.5301, allocations: 3 kB / 0.7699 GB, free: 28.68 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.5301, allocations: 6.719 kB / 0.7699 GB, free: 28.68 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002423/0.5325, allocations: 1.685 MB / 0.7716 GB, free: 28.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.5325, allocations: 5.5 kB / 0.7716 GB, free: 28.29 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002605/0.5328, allocations: 63.41 kB / 0.7716 GB, free: 28.28 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000759/0.5335, allocations: 268.2 kB / 0.7719 GB, free: 28.25 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.339e-05/0.5336, allocations: 11.56 kB / 0.7719 GB, free: 28.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005266/0.5388, allocations: 6.711 MB / 0.7785 GB, free: 23.31 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.5388, allocations: 7.812 kB / 0.7785 GB, free: 23.31 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001636/0.5405, allocations: 0.976 MB / 0.7794 GB, free: 22.96 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003385/0.5408, allocations: 116.3 kB / 0.7795 GB, free: 22.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.214e-05/0.5409, allocations: 12.77 kB / 0.7795 GB, free: 22.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003679/0.5412, allocations: 30.69 kB / 0.7796 GB, free: 22.88 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001342/0.5414, allocations: 43.89 kB / 0.7796 GB, free: 22.88 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.179e-05/0.5414, allocations: 14.59 kB / 0.7796 GB, free: 22.87 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004934/0.5419, allocations: 385.4 kB / 0.78 GB, free: 22.69 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5419, allocations: 0 / 0.78 GB, free: 22.69 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008743/0.5428, allocations: 224.5 kB / 0.7802 GB, free: 22.66 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00181/0.5446, allocations: 1.533 MB / 0.7817 GB, free: 21.61 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002083/0.5467, allocations: 1.239 MB / 0.7829 GB, free: 20.88 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.5467, allocations: 1.344 kB / 0.7829 GB, free: 20.88 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001339/0.548, allocations: 0.8645 MB / 0.7838 GB, free: 20.29 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001154/0.5492, allocations: 222.5 kB / 0.784 GB, free: 20.21 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008861/0.558, allocations: 6.365 MB / 0.7902 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005612/0.5586, allocations: 1.011 MB / 0.7912 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004883/0.5591, allocations: 124.5 kB / 0.7913 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002716/0.5594, allocations: 249.8 kB / 0.7915 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of SimCode: time 1.453e-06/0.5594, allocations: 1.031 kB / 0.7915 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06541/0.6248, allocations: 18.06 MB / 0.8092 GB, free: 9.207 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.43/13.05, allocations: 9.297 kB / 0.8092 GB, free: 9.203 MB / 0.5762 GB " [Timeout remaining time 647] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.99274484399939] Failed to read output from testmodel.py, exit status != 0: 13.177813064001384 13.201142198 12.998691615 Calling exit ...