Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.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.001395/0.001395, allocations: 114 kB / 17.12 MB, free: 6.008 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.001515/0.001515, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.609/1.609, allocations: 230.6 MB / 253.5 MB, free: 15.1 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 1.067/1.067, allocations: 150 MB / 459.5 MB, free: 5.309 MB / 350.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.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_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.002833/0.002833, allocations: 68.94 kB / 0.6361 GB, free: 30.59 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2235/0.2263, allocations: 89.14 MB / 0.7232 GB, free: 4.152 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.02052/0.2468, allocations: 14.23 MB / 0.7371 GB, free: 5.863 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01626/0.2631, allocations: 9.539 MB / 0.7464 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001604/0.2647, allocations: 91.19 kB / 0.7465 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004691/0.2694, allocations: 1.699 MB / 0.7481 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005469/0.2749, allocations: 1.586 MB / 0.7497 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00217/0.277, allocations: 0.7523 MB / 0.7504 GB, free: 8.164 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003925/0.281, allocations: 2.53 MB / 0.7529 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001801/0.2828, allocations: 1.122 MB / 0.754 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002444/0.2852, allocations: 1.227 MB / 0.7552 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001876/0.2871, allocations: 1.132 MB / 0.7563 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002561/0.2873, allocations: 152 kB / 0.7564 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001583/0.2889, allocations: 0.7994 MB / 0.7572 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0007053/0.2896, allocations: 0.6114 MB / 0.7578 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001157/0.2908, allocations: 0.9251 MB / 0.7587 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003564/0.2943, allocations: 2.712 MB / 0.7614 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.2943, allocations: 0 / 0.7614 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2943, allocations: 0 / 0.7614 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.298e-05/0.2944, allocations: 0 / 0.7614 GB, free: 12.89 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004282/0.2987, allocations: 2.174 MB / 0.7635 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.2987, allocations: 8.031 kB / 0.7635 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002576/0.299, allocations: 198.3 kB / 0.7637 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0117/0.3107, allocations: 2.09 MB / 0.7657 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002694/0.3134, allocations: 1.28 MB / 0.767 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.602e-05/0.3134, allocations: 90.73 kB / 0.7671 GB, free: 6.926 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000268/0.3137, allocations: 123.9 kB / 0.7672 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006056/0.3198, allocations: 2.634 MB / 0.7697 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.291e-05/0.3198, allocations: 11.89 kB / 0.7698 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001754/0.32, allocations: 51.98 kB / 0.7698 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006785/0.3207, allocations: 178.1 kB / 0.77 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008024/0.3287, allocations: 2.791 MB / 0.7727 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01671/0.3454, allocations: 10.42 MB / 0.7829 GB, free: 5.988 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007277/0.3527, allocations: 2.434 MB / 0.7853 GB, free: 3.496 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003334/0.356, allocations: 1.206 MB / 0.7864 GB, free: 2.285 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.906e-05/0.3561, allocations: 9 kB / 0.7864 GB, free: 2.277 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/0.3561, allocations: 39.56 kB / 0.7865 GB, free: 2.23 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=89): time 2.796e-06/0.3561, allocations: 0 / 0.7865 GB, free: 2.23 MB / 0.5919 GB Notification: Performance of matching and sorting (n=131): time 0.04699/0.4031, allocations: 12.65 MB / 0.7988 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.897e-05/0.4032, allocations: 68.72 kB / 0.7989 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002029/0.4052, allocations: 0.9712 MB / 0.7998 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.000226/0.4054, allocations: 45.7 kB / 0.7999 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007316/0.4062, allocations: 0.7513 MB / 0.8006 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000683/0.4069, allocations: 479.8 kB / 0.8011 GB, free: 3.023 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006343/0.4075, allocations: 271.5 kB / 0.8013 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002108/0.4077, allocations: 361.9 kB / 0.8017 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003769/0.4115, allocations: 1.3 MB / 0.803 GB, free: 1.094 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004407/0.4159, allocations: 1.63 MB / 0.8045 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008213/0.4241, allocations: 3.004 MB / 0.8075 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.426e-06/0.4241, allocations: 0 / 0.8075 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of matching and sorting (n=174) (initialization): time 0.01211/0.4362, allocations: 4.244 MB / 0.8116 GB, free: 7.891 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.428e-05/0.4363, allocations: 12 kB / 0.8116 GB, free: 7.879 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.154e-05/0.4363, allocations: 8 kB / 0.8116 GB, free: 7.871 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004471/0.4407, allocations: 1.26 MB / 0.8129 GB, free: 6.574 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002259/0.443, allocations: 451.2 kB / 0.8133 GB, free: 6.133 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03216/0.4752, allocations: 26.24 MB / 0.8389 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00288/0.478, allocations: 299.6 kB / 0.8392 GB, free: 9.801 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003705/0.4784, allocations: 71.84 kB / 0.8393 GB, free: 9.73 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (105): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (4,8,81.2%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001085/0.4795, allocations: 446.3 kB / 0.8397 GB, free: 9.285 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004714/0.48, allocations: 155.2 kB / 0.8398 GB, free: 9.133 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01232/0.4923, allocations: 4.253 MB / 0.844 GB, free: 4.82 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.905e-05/0.4923, allocations: 15.98 kB / 0.844 GB, free: 4.805 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.187e-05/0.4924, allocations: 12 kB / 0.844 GB, free: 4.793 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.732e-05/0.4924, allocations: 7.969 kB / 0.844 GB, free: 4.785 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01676/0.5091, allocations: 6.45 MB / 0.8503 GB, free: 14.18 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.958e-05/0.5092, allocations: 4 kB / 0.8503 GB, free: 14.17 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001945/0.5111, allocations: 387.6 kB / 0.8507 GB, free: 13.79 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003965/0.5151, allocations: 1.103 MB / 0.8518 GB, free: 12.65 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002608/0.5153, allocations: 35.97 kB / 0.8518 GB, free: 12.61 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.444/0.9594, allocations: 25.1 MB / 0.8763 GB, free: 119.2 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.9594, allocations: 7.469 kB / 0.8763 GB, free: 119.2 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0104/0.9698, allocations: 3.992 MB / 0.8802 GB, free: 118.8 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009191/0.9707, allocations: 436 kB / 0.8806 GB, free: 118.6 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002181/0.9709, allocations: 32.12 kB / 0.8807 GB, free: 118.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00205/0.973, allocations: 293.6 kB / 0.881 GB, free: 118.6 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005449/0.9735, allocations: 128.4 kB / 0.8811 GB, free: 118.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001413/0.9736, allocations: 51.73 kB / 0.8811 GB, free: 118.5 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009674/0.9746, allocations: 0.6441 MB / 0.8818 GB, free: 118.3 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9746, allocations: 0 / 0.8818 GB, free: 118.3 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002153/0.9768, allocations: 0.5357 MB / 0.8823 GB, free: 118.2 MB / 0.67 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01105/0.9878, allocations: 4.582 MB / 0.8868 GB, free: 116.3 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01017/0.998, allocations: 4.904 MB / 0.8915 GB, free: 114 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.543e-06/0.998, allocations: 0 / 0.8915 GB, free: 114 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.006087/1.004, allocations: 3.379 MB / 0.8948 GB, free: 112 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002305/1.006, allocations: 0.5175 MB / 0.8954 GB, free: 111.8 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03442/1.041, allocations: 18.46 MB / 0.9134 GB, free: 98.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001024/1.042, allocations: 1.471 MB / 0.9148 GB, free: 96.59 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001375/1.043, allocations: 427 kB / 0.9152 GB, free: 96.18 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007462/1.044, allocations: 0.6164 MB / 0.9158 GB, free: 95.56 MB / 0.67 GB Notification: Performance of SimCode: time 1.653e-06/1.044, allocations: 0 / 0.9158 GB, free: 95.56 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1119/1.156, allocations: 48.18 MB / 0.9629 GB, free: 47.96 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.63/20.78, allocations: 4.969 kB / 0.9629 GB, free: 47.96 MB / 0.67 GB " [Timeout remaining time 639] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_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_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 25.11969073303044] Failed to read output from testmodel.py, exit status != 0: 20.899247559020296 20.913843552 20.616375318 Calling exit ...