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.001511/0.001511, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001634/0.001634, allocations: 207.5 kB / 22.99 MB, free: 4.609 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.518/1.518, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.9488/0.9488, allocations: 149.9 MB / 463 MB, free: 10.37 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.002079/0.002079, allocations: 69.78 kB / 0.6411 GB, free: 10.13 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1692, allocations: 89.17 MB / 0.7282 GB, free: 1.035 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.01111/0.1803, allocations: 6.479 MB / 0.7345 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00599/0.1863, allocations: 3.045 MB / 0.7375 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007949/0.1871, allocations: 35.69 kB / 0.7375 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002991/0.1901, allocations: 0.9454 MB / 0.7384 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001685/0.1918, allocations: 0.5167 MB / 0.7389 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.1929, allocations: 426.2 kB / 0.7393 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001561/0.1945, allocations: 1.221 MB / 0.7405 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008727/0.1953, allocations: 0.5334 MB / 0.741 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007134/0.1961, allocations: 494.2 kB / 0.7415 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007283/0.1968, allocations: 0.5175 MB / 0.742 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001047/0.1969, allocations: 68 kB / 0.7421 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006666/0.1976, allocations: 343.3 kB / 0.7424 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000311/0.1979, allocations: 319.1 kB / 0.7427 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000389/0.1983, allocations: 374.2 kB / 0.7431 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001374/0.1996, allocations: 1.23 MB / 0.7443 GB, free: 480 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.309e-06/0.1996, allocations: 0 / 0.7443 GB, free: 480 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1996, allocations: 0 / 0.7443 GB, free: 480 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.418e-05/0.1997, allocations: 0 / 0.7443 GB, free: 480 kB / 0.5606 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.001925/0.2016, allocations: 1.104 MB / 0.7454 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.2016, allocations: 12.03 kB / 0.7454 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001487/0.2018, allocations: 118.7 kB / 0.7455 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001467/0.2032, allocations: 244.1 kB / 0.7457 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/0.2043, allocations: 0.5269 MB / 0.7462 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.535e-05/0.2043, allocations: 49.67 kB / 0.7463 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/0.2044, allocations: 60.36 kB / 0.7463 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001686/0.2061, allocations: 1.344 MB / 0.7476 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.646e-05/0.2061, allocations: 7.938 kB / 0.7476 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.521e-05/0.2062, allocations: 31.98 kB / 0.7477 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001556/0.2064, allocations: 85.19 kB / 0.7478 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001213/0.2076, allocations: 0.7504 MB / 0.7485 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005339/0.2129, allocations: 4.632 MB / 0.753 GB, free: 7.102 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/0.2139, allocations: 0.5075 MB / 0.7535 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000436/0.2144, allocations: 293.9 kB / 0.7538 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.287e-05/0.2144, allocations: 4.438 kB / 0.7538 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.714e-05/0.2145, allocations: 42.98 kB / 0.7538 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=47): time 2.184e-06/0.2145, allocations: 0 / 0.7538 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of matching and sorting (n=48): time 0.00377/0.2182, allocations: 1.682 MB / 0.7555 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.2183, allocations: 59.84 kB / 0.7555 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006598/0.2189, allocations: 0.5625 MB / 0.7561 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.287e-05/0.219, allocations: 37.64 kB / 0.7561 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003276/0.2193, allocations: 428 kB / 0.7565 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001598/0.2195, allocations: 178.5 kB / 0.7567 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002004/0.2197, allocations: 130.6 kB / 0.7568 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001958/0.2199, allocations: 374.7 kB / 0.7572 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004287/0.2203, allocations: 277.8 kB / 0.7574 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000606/0.2209, allocations: 496.9 kB / 0.7579 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/0.222, allocations: 0.8006 MB / 0.7587 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.222, allocations: 7.938 kB / 0.7587 GB, free: 1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.3621/0.5841, allocations: 1.072 MB / 0.7598 GB, free: 34.13 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/0.5841, allocations: 10.25 kB / 0.7598 GB, free: 34.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.5842, allocations: 8.188 kB / 0.7598 GB, free: 34.13 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008432/0.585, allocations: 282.7 kB / 0.76 GB, free: 34.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005007/0.5855, allocations: 125.8 kB / 0.7602 GB, free: 34.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004641/0.5901, allocations: 6.684 MB / 0.7667 GB, free: 29.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005845/0.5907, allocations: 38.45 kB / 0.7667 GB, free: 29.27 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.631e-05/0.5908, allocations: 26.69 kB / 0.7668 GB, free: 29.27 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.0004043/0.5912, allocations: 263.4 kB / 0.767 GB, free: 29.15 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.5913, allocations: 73.81 kB / 0.7671 GB, free: 29.15 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001473/0.5928, allocations: 0.8733 MB / 0.7679 GB, free: 29.07 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/0.5928, allocations: 8.578 kB / 0.7679 GB, free: 29.07 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.5928, allocations: 3.125 kB / 0.7679 GB, free: 29.07 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.064e-06/0.5928, allocations: 3.188 kB / 0.7679 GB, free: 29.07 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002303/0.5951, allocations: 1.612 MB / 0.7695 GB, free: 28.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.5951, allocations: 0.5625 kB / 0.7695 GB, free: 28.68 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000255/0.5953, allocations: 62.7 kB / 0.7696 GB, free: 28.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006954/0.596, allocations: 266.8 kB / 0.7698 GB, free: 28.65 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.867e-05/0.5961, allocations: 11.81 kB / 0.7698 GB, free: 28.65 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004857/0.6009, allocations: 6.678 MB / 0.7764 GB, free: 23.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.6009, allocations: 4.969 kB / 0.7764 GB, free: 23.75 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001422/0.6023, allocations: 0.977 MB / 0.7773 GB, free: 23.46 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000316/0.6027, allocations: 115.6 kB / 0.7774 GB, free: 23.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.166e-05/0.6027, allocations: 14.75 kB / 0.7774 GB, free: 23.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003887/0.6031, allocations: 28 kB / 0.7775 GB, free: 23.42 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/0.6032, allocations: 44.77 kB / 0.7775 GB, free: 23.42 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-05/0.6033, allocations: 18.06 kB / 0.7775 GB, free: 23.42 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004342/0.6037, allocations: 382.4 kB / 0.7779 GB, free: 23.32 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6037, allocations: 0 / 0.7779 GB, free: 23.32 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008257/0.6045, allocations: 223.3 kB / 0.7781 GB, free: 23.32 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.001624/0.6062, allocations: 1.541 MB / 0.7796 GB, free: 22.51 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001826/0.608, allocations: 1.238 MB / 0.7808 GB, free: 21.89 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.608, allocations: 0.5625 kB / 0.7808 GB, free: 21.89 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001121/0.6091, allocations: 0.8685 MB / 0.7817 GB, free: 21.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.6101, allocations: 216.6 kB / 0.7819 GB, free: 21.24 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008853/0.619, allocations: 6.378 MB / 0.7881 GB, free: 17.61 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005038/0.6195, allocations: 415.4 kB / 0.7885 GB, free: 17.48 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004674/0.6199, allocations: 120.2 kB / 0.7886 GB, free: 17.46 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002636/0.6202, allocations: 250.9 kB / 0.7889 GB, free: 17.27 MB / 0.5762 GB Notification: Performance of SimCode: time 1.143e-06/0.6202, allocations: 4 kB / 0.7889 GB, free: 17.26 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05782/0.678, allocations: 19.24 MB / 0.8077 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.35/13.03, allocations: 1.188 kB / 0.8077 GB, free: 10.34 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.981642765924335] Failed to read output from testmodel.py, exit status != 0: 13.153117070905864 13.16463041 12.962116468 Calling exit ...