Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.0007502/0.0007502, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0008051/0.0008051, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.9069/0.9069, allocations: 177.2 MB / 202.8 MB, free: 5.539 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001481/0.001481, allocations: 236.9 kB / 259.4 MB, free: 12.9 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6864/0.6864, allocations: 138.4 MB / 454.3 MB, free: 30 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.6463 GB, free: 1.836 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.766e-05/1.931e-05, allocations: 9.172 kB / 0.6463 GB, free: 1.828 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.2426/0.2426, allocations: 31.06 MB / 0.6767 GB, free: 39.03 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01596/0.2586, allocations: 14.3 MB / 0.6906 GB, free: 29.75 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002411/0.261, allocations: 203.4 kB / 0.6908 GB, free: 29.66 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.004352/0.2653, allocations: 3.682 MB / 0.6944 GB, free: 27.59 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.005675/0.271, allocations: 3.066 MB / 0.6974 GB, free: 25.68 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.004544/0.2756, allocations: 2.368 MB / 0.6997 GB, free: 24.36 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.00895/0.2845, allocations: 9.01 MB / 0.7085 GB, free: 19.88 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006308/0.2908, allocations: 5.513 MB / 0.7139 GB, free: 16.3 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007285/0.2981, allocations: 5.556 MB / 0.7193 GB, free: 12.86 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005906/0.304, allocations: 3.735 MB / 0.723 GB, free: 10.74 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.001864/0.3059, allocations: 0.7162 MB / 0.7237 GB, free: 10.74 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003306/0.3092, allocations: 1.632 MB / 0.7253 GB, free: 10.22 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.002091/0.3113, allocations: 3.026 MB / 0.7282 GB, free: 7.375 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.002019/0.3133, allocations: 2.37 MB / 0.7305 GB, free: 5 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.00619/0.3195, allocations: 11.4 MB / 0.7417 GB, free: 9.566 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.3195, allocations: 0 / 0.7417 GB, free: 9.566 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3195, allocations: 0 / 0.7417 GB, free: 9.566 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0001373/0.3196, allocations: 0 / 0.7417 GB, free: 9.566 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.006969/0.3266, allocations: 5.994 MB / 0.7475 GB, free: 3.504 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.3266, allocations: 9.938 kB / 0.7475 GB, free: 3.496 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006732/0.3273, allocations: 0.7348 MB / 0.7483 GB, free: 2.75 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003289/0.3306, allocations: 1.18 MB / 0.7494 GB, free: 1.566 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004055/0.3346, allocations: 3.47 MB / 0.7528 GB, free: 14.02 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001696/0.3348, allocations: 374.3 kB / 0.7532 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004898/0.3353, allocations: 0.4886 MB / 0.7536 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008132/0.3434, allocations: 8.863 MB / 0.7623 GB, free: 3.809 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.349e-05/0.3435, allocations: 27.81 kB / 0.7623 GB, free: 3.781 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003497/0.3439, allocations: 212 kB / 0.7625 GB, free: 3.574 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005476/0.3444, allocations: 437.6 kB / 0.7629 GB, free: 3.145 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006319/0.3507, allocations: 6.079 MB / 0.7689 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01979/0.3705, allocations: 22.02 MB / 0.7904 GB, free: 6.57 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001811/0.3723, allocations: 1.906 MB / 0.7922 GB, free: 4.652 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001645/0.374, allocations: 1.744 MB / 0.7939 GB, free: 2.91 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.406e-05/0.3741, allocations: 22 kB / 0.794 GB, free: 2.891 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.963e-05/0.3741, allocations: 56.56 kB / 0.794 GB, free: 2.824 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=171): time 3.226e-06/0.3741, allocations: 0 / 0.794 GB, free: 2.824 MB / 0.6198 GB Notification: Performance of matching and sorting (n=276): time 0.07527/0.4494, allocations: 38.7 MB / 0.8318 GB, free: 12.07 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.406e-05/0.4494, allocations: 81.58 kB / 0.8319 GB, free: 11.97 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002282/0.4517, allocations: 2.317 MB / 0.8342 GB, free: 9.641 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001367/0.4519, allocations: 73.7 kB / 0.8342 GB, free: 9.562 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.001083/0.4529, allocations: 2.334 MB / 0.8365 GB, free: 7.207 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005942/0.4535, allocations: 0.9682 MB / 0.8374 GB, free: 6.23 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006817/0.4542, allocations: 0.5025 MB / 0.8379 GB, free: 5.719 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 6.644e-05/0.4543, allocations: 309.1 kB / 0.8382 GB, free: 5.414 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002113/0.4564, allocations: 1.972 MB / 0.8402 GB, free: 3.441 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002306/0.4587, allocations: 2.602 MB / 0.8427 GB, free: 0.5938 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00483/0.4635, allocations: 4.933 MB / 0.8475 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-05/0.4635, allocations: 4 kB / 0.8475 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.009371/0.4729, allocations: 7.65 MB / 0.855 GB, free: 3.664 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.907e-05/0.4729, allocations: 15.94 kB / 0.855 GB, free: 3.648 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.495e-05/0.473, allocations: 21.62 kB / 0.855 GB, free: 3.629 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005334/0.4783, allocations: 3.211 MB / 0.8582 GB, free: 412 kB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008322/0.4791, allocations: 403.3 kB / 0.8585 GB, free: 8 kB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02863/0.5078, allocations: 32.75 MB / 0.8905 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001857/0.5096, allocations: 163.8 kB / 0.8907 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001635/0.5098, allocations: 108 kB / 0.8908 GB, free: 14.3 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002636/0.5124, allocations: 1.794 MB / 0.8925 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003707/0.5128, allocations: 345.9 kB / 0.8929 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008542/0.5213, allocations: 7.243 MB / 0.8999 GB, free: 4.832 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.509e-05/0.5213, allocations: 28 kB / 0.9 GB, free: 4.805 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.382e-05/0.5214, allocations: 28.5 kB / 0.9 GB, free: 4.777 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.648e-05/0.5214, allocations: 15.94 kB / 0.9 GB, free: 4.762 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01381/0.5352, allocations: 12.14 MB / 0.9119 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.018e-05/0.5352, allocations: 12 kB / 0.9119 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004695/0.5357, allocations: 228.5 kB / 0.9121 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004495/0.5402, allocations: 2.851 MB / 0.9149 GB, free: 5.363 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001253/0.5403, allocations: 55.94 kB / 0.9149 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2838/0.8241, allocations: 31.52 MB / 0.9457 GB, free: 221.7 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.8241, allocations: 11.28 kB / 0.9457 GB, free: 221.7 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007945/0.8321, allocations: 6.775 MB / 0.9523 GB, free: 220.5 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001201/0.8333, allocations: 0.732 MB / 0.9531 GB, free: 220.3 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002354/0.8335, allocations: 54.47 kB / 0.9531 GB, free: 220.3 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009687/0.8345, allocations: 168.7 kB / 0.9533 GB, free: 220.2 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000746/0.8352, allocations: 270.7 kB / 0.9535 GB, free: 220.2 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000116/0.8353, allocations: 71.94 kB / 0.9536 GB, free: 220.2 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001512/0.8368, allocations: 1.53 MB / 0.9551 GB, free: 219.6 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8e-08/0.8368, allocations: 0 / 0.9551 GB, free: 219.6 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.002469/0.8393, allocations: 1.373 MB / 0.9564 GB, free: 219.5 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007477/0.8468, allocations: 7.396 MB / 0.9636 GB, free: 216.3 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.007289/0.8541, allocations: 6.554 MB / 0.97 GB, free: 213.4 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.8541, allocations: 2.75 kB / 0.9701 GB, free: 213.4 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.00461/0.8587, allocations: 4.241 MB / 0.9742 GB, free: 211.4 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003145/0.8618, allocations: 1.129 MB / 0.9753 GB, free: 211.1 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04292/0.9048, allocations: 39.2 MB / 1.014 GB, free: 192.6 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00302/0.9078, allocations: 3.117 MB / 1.017 GB, free: 190.2 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.001479/0.9093, allocations: 0.5586 MB / 1.017 GB, free: 189.8 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001152/0.9104, allocations: 1.971 MB / 1.019 GB, free: 188 MB / 0.7605 GB Notification: Performance of SimCode: time 1.302e-06/0.9104, allocations: 0 / 1.019 GB, free: 188 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1024/1.013, allocations: 118.9 MB / 1.135 GB, free: 71.13 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.708/10.72, allocations: 15.09 kB / 1.135 GB, free: 71.12 MB / 0.7605 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.580368765629828] Failed to read output from testmodel.py, exit status != 0: 10.853102176450193 10.85983884 10.53828624 Calling exit ...