Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.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.001174/0.001174, allocations: 76.45 kB / 19.93 MB, free: 4.629 MB / 18.57 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.001403/0.001403, allocations: 173.9 kB / 23.21 MB, free: 1.344 MB / 18.57 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 0.9287/0.9287, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.5665/0.5665, allocations: 114 MB / 373.9 MB, free: 8.711 MB / 346.7 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.876e-06/2.876e-06, allocations: 0 / 0.5542 GB, free: 2.75 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.871e-05/3.159e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.746 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.02652/0.02655, allocations: 35.65 MB / 0.589 GB, free: 14.98 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01544/0.04199, allocations: 10.96 MB / 0.5997 GB, free: 4 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005218/0.04721, allocations: 198.6 kB / 0.5999 GB, free: 3.805 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.006928/0.05414, allocations: 4.393 MB / 0.6042 GB, free: 15.4 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.006199/0.06034, allocations: 2.4 MB / 0.6066 GB, free: 12.99 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.005091/0.06543, allocations: 2.19 MB / 0.6087 GB, free: 10.8 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.01013/0.07556, allocations: 9.473 MB / 0.6179 GB, free: 1.297 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009378/0.08494, allocations: 6.35 MB / 0.6241 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009629/0.09456, allocations: 5.777 MB / 0.6298 GB, free: 5.039 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006195/0.1008, allocations: 4.197 MB / 0.6339 GB, free: 0.832 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.00187/0.1026, allocations: 0.8203 MB / 0.6347 GB, free: 12 kB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002985/0.1056, allocations: 1.521 MB / 0.6362 GB, free: 14.49 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.003439/0.1091, allocations: 3.363 MB / 0.6395 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.004991/0.114, allocations: 2.569 MB / 0.642 GB, free: 8.543 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.01437/0.1284, allocations: 12.56 MB / 0.6542 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.832e-06/0.1284, allocations: 0 / 0.6542 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.714e-06/0.1284, allocations: 3.938 kB / 0.6542 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0004166/0.1288, allocations: 4 kB / 0.6542 GB, free: 11.94 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.0139/0.1427, allocations: 6.325 MB / 0.6604 GB, free: 5.555 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.1428, allocations: 12.56 kB / 0.6604 GB, free: 5.543 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001849/0.1446, allocations: 0.8294 MB / 0.6612 GB, free: 4.703 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003524/0.1482, allocations: 1.113 MB / 0.6623 GB, free: 3.586 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005537/0.1537, allocations: 3.571 MB / 0.6658 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002062/0.1539, allocations: 427.7 kB / 0.6662 GB, free: 15.53 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008681/0.1548, allocations: 0.5433 MB / 0.6667 GB, free: 14.99 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01528/0.1701, allocations: 10.29 MB / 0.6768 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001368/0.1702, allocations: 16.06 kB / 0.6768 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006527/0.1708, allocations: 252.1 kB / 0.677 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004627/0.1713, allocations: 426.9 kB / 0.6775 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2828/0.4541, allocations: 7.114 MB / 0.6844 GB, free: 148.9 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02636/0.4805, allocations: 26.22 MB / 0.71 GB, free: 132.3 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002715/0.4832, allocations: 2.9 MB / 0.7128 GB, free: 131.3 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001648/0.4848, allocations: 1.938 MB / 0.7147 GB, free: 130.5 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.32e-05/0.4849, allocations: 20.94 kB / 0.7148 GB, free: 130.5 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.85e-05/0.485, allocations: 60.44 kB / 0.7148 GB, free: 130.5 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=209): time 3.717e-06/0.485, allocations: 0 / 0.7148 GB, free: 130.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=212): time 0.01541/0.5004, allocations: 10.27 MB / 0.7248 GB, free: 126.9 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.961e-05/0.5004, allocations: 80.66 kB / 0.7249 GB, free: 126.9 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002203/0.5026, allocations: 2.051 MB / 0.7269 GB, free: 126.1 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002186/0.5029, allocations: 64.23 kB / 0.727 GB, free: 126 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009967/0.5039, allocations: 2.47 MB / 0.7294 GB, free: 124.4 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005018/0.5044, allocations: 0.7621 MB / 0.7301 GB, free: 123.8 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005178/0.5049, allocations: 472.3 kB / 0.7306 GB, free: 123.5 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.218e-05/0.5049, allocations: 306.2 kB / 0.7309 GB, free: 123.2 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001531/0.5064, allocations: 1.37 MB / 0.7322 GB, free: 122.7 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001791/0.5082, allocations: 2.106 MB / 0.7343 GB, free: 121.3 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003446/0.5117, allocations: 3.765 MB / 0.738 GB, free: 119.1 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-05/0.5117, allocations: 9.844 kB / 0.738 GB, free: 119.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.006409/0.5181, allocations: 5.027 MB / 0.7429 GB, free: 117.1 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.955e-05/0.5181, allocations: 15.31 kB / 0.7429 GB, free: 117.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.055e-05/0.5182, allocations: 26.8 kB / 0.7429 GB, free: 117.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002651/0.5208, allocations: 1.58 MB / 0.7445 GB, free: 116.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001184/0.522, allocations: 452.6 kB / 0.7449 GB, free: 116.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0141/0.5361, allocations: 17.91 MB / 0.7624 GB, free: 104.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002216/0.5383, allocations: 151.8 kB / 0.7625 GB, free: 104.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001638/0.5385, allocations: 104 kB / 0.7626 GB, free: 104.6 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002584/0.5411, allocations: 1.941 MB / 0.7645 GB, free: 102.7 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005085/0.5416, allocations: 302.2 kB / 0.7648 GB, free: 102.4 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003962/0.5455, allocations: 4.4 MB / 0.7691 GB, free: 97.96 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/0.5456, allocations: 25.44 kB / 0.7691 GB, free: 97.94 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.702e-05/0.5456, allocations: 16 kB / 0.7691 GB, free: 97.93 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/0.5456, allocations: 11.95 kB / 0.7691 GB, free: 97.91 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01008/0.5557, allocations: 9.178 MB / 0.7781 GB, free: 88.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.838e-06/0.5557, allocations: 8 kB / 0.7781 GB, free: 88.63 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005407/0.5562, allocations: 227.6 kB / 0.7783 GB, free: 88.41 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001957/0.5582, allocations: 1.431 MB / 0.7797 GB, free: 86.96 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.322e-05/0.5583, allocations: 40 kB / 0.7798 GB, free: 86.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01155/0.5698, allocations: 17.9 MB / 0.7972 GB, free: 68.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.5698, allocations: 4 kB / 0.7973 GB, free: 68.58 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004392/0.5742, allocations: 4.499 MB / 0.8016 GB, free: 64 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00134/0.5755, allocations: 0.5693 MB / 0.8022 GB, free: 63.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002567/0.5758, allocations: 43.98 kB / 0.8022 GB, free: 63.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007262/0.5765, allocations: 111.9 kB / 0.8023 GB, free: 63.27 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003895/0.5769, allocations: 189.5 kB / 0.8025 GB, free: 63.09 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.708e-05/0.577, allocations: 60 kB / 0.8026 GB, free: 63.03 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001086/0.5781, allocations: 1.321 MB / 0.8039 GB, free: 61.7 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5781, allocations: 0 / 0.8039 GB, free: 61.7 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002977/0.5811, allocations: 1.145 MB / 0.805 GB, free: 60.55 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003989/0.585, allocations: 5.099 MB / 0.81 GB, free: 55.36 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.004548/0.5896, allocations: 4.538 MB / 0.8144 GB, free: 50.77 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 8.837e-06/0.5896, allocations: 4 kB / 0.8144 GB, free: 50.76 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.002649/0.5923, allocations: 2.803 MB / 0.8171 GB, free: 47.92 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002673/0.5949, allocations: 0.9022 MB / 0.818 GB, free: 47.06 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03801/0.6329, allocations: 30.63 MB / 0.8479 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003391/0.6363, allocations: 3.159 MB / 0.851 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001693/0.638, allocations: 0.5556 MB / 0.8516 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001502/0.6395, allocations: 1.953 MB / 0.8535 GB, free: 9.523 MB / 0.6355 GB Notification: Performance of SimCode: time 1.673e-06/0.6395, allocations: 3.938 kB / 0.8535 GB, free: 9.52 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1123/0.7518, allocations: 90.33 MB / 0.9417 GB, free: 404 kB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.588/10.34, allocations: 11.97 kB / 0.9417 GB, free: 392 kB / 0.7136 GB " [Timeout remaining time 650] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_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_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.10414732992649] Failed to read output from testmodel.py, exit status != 0: 10.465386448428035 10.478458326 10.34780446 Calling exit ...