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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 102 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002235/0.002235, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 225.6 MB / 247.8 MB, free: 3.758 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002302/0.002302, allocations: 276.5 kB / 303 MB, free: 3.543 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.003/1.003, allocations: 180.9 MB / 0.5261 GB, free: 2.789 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002712/0.002712, allocations: 99.84 kB / 0.7248 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4636/0.4664, allocations: 94.16 MB / 0.8167 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03571/0.5021, allocations: 33.84 MB / 0.8498 GB, free: 236 kB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02412/0.5262, allocations: 14.95 MB / 0.8644 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003671/0.5299, allocations: 156.9 kB / 0.8645 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.009568/0.5394, allocations: 3.724 MB / 0.8682 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00906/0.5485, allocations: 2.986 MB / 0.8711 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.006584/0.5551, allocations: 2.333 MB / 0.8734 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01202/0.5671, allocations: 8.814 MB / 0.882 GB, free: 9.902 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01095/0.578, allocations: 7.218 MB / 0.889 GB, free: 6.293 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007672/0.5857, allocations: 4.017 MB / 0.8929 GB, free: 2.934 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007423/0.5931, allocations: 4.275 MB / 0.8971 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001855/0.595, allocations: 0.7148 MB / 0.8978 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004148/0.5991, allocations: 1.748 MB / 0.8995 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.003389/0.6025, allocations: 2.891 MB / 0.9023 GB, free: 9.277 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.005548/0.6081, allocations: 3.392 MB / 0.9056 GB, free: 5.871 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0127/0.6208, allocations: 11.22 MB / 0.9166 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.6208, allocations: 0 / 0.9166 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6208, allocations: 0 / 0.9166 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002394/0.621, allocations: 7.938 kB / 0.9166 GB, free: 10.61 MB / 0.6544 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.01335/0.6344, allocations: 6.136 MB / 0.9226 GB, free: 4.383 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.6344, allocations: 12.03 kB / 0.9226 GB, free: 4.371 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001263/0.6357, allocations: 0.7193 MB / 0.9233 GB, free: 3.641 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00643/0.6421, allocations: 1.172 MB / 0.9245 GB, free: 2.465 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008121/0.6502, allocations: 3.538 MB / 0.9279 GB, free: 14.85 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003119/0.6505, allocations: 382.4 kB / 0.9283 GB, free: 14.48 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001088/0.6516, allocations: 495.9 kB / 0.9288 GB, free: 13.99 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01497/0.6666, allocations: 8.005 MB / 0.9366 GB, free: 5.707 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001528/0.6668, allocations: 23.84 kB / 0.9366 GB, free: 5.684 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008523/0.6676, allocations: 220 kB / 0.9368 GB, free: 5.469 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001062/0.6687, allocations: 437.6 kB / 0.9372 GB, free: 5.039 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01233/0.681, allocations: 6.085 MB / 0.9432 GB, free: 14.94 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04143/0.7224, allocations: 34.95 MB / 0.9773 GB, free: 8.82 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002654/0.7251, allocations: 1.915 MB / 0.9792 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002427/0.7275, allocations: 1.76 MB / 0.9809 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.479e-05/0.7276, allocations: 21.98 kB / 0.9809 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.557e-05/0.7277, allocations: 64.44 kB / 0.981 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=171): time 3.847e-06/0.7277, allocations: 4 kB / 0.981 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of matching and sorting (n=276): time 0.1395/0.8672, allocations: 38.83 MB / 1.019 GB, free: 14.11 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.092e-05/0.8672, allocations: 85.56 kB / 1.019 GB, free: 14.01 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003279/0.8705, allocations: 2.278 MB / 1.021 GB, free: 11.71 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0003716/0.8709, allocations: 73.7 kB / 1.021 GB, free: 11.64 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.001678/0.8726, allocations: 2.342 MB / 1.024 GB, free: 9.277 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009862/0.8736, allocations: 0.9721 MB / 1.025 GB, free: 8.297 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009363/0.8745, allocations: 0.5219 MB / 1.025 GB, free: 7.766 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.8746, allocations: 305.1 kB / 1.025 GB, free: 7.465 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002916/0.8775, allocations: 1.97 MB / 1.027 GB, free: 5.492 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003413/0.8809, allocations: 2.602 MB / 1.03 GB, free: 2.645 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00688/0.8878, allocations: 4.933 MB / 1.035 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.448e-05/0.8878, allocations: 4 kB / 1.035 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01458/0.9024, allocations: 7.654 MB / 1.042 GB, free: 5.711 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.834e-05/0.9024, allocations: 16 kB / 1.042 GB, free: 5.695 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.82e-05/0.9025, allocations: 16 kB / 1.042 GB, free: 5.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008957/0.9114, allocations: 3.205 MB / 1.045 GB, free: 2.457 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00161/0.913, allocations: 407.2 kB / 1.046 GB, free: 2.059 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04594/0.959, allocations: 33.9 MB / 1.079 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002774/0.9617, allocations: 167.8 kB / 1.079 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000286/0.962, allocations: 108 kB / 1.079 GB, free: 15.04 MB / 0.8262 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.003161/0.9652, allocations: 1.797 MB / 1.081 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006692/0.9659, allocations: 349.8 kB / 1.081 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01351/0.9794, allocations: 7.236 MB / 1.088 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.459e-05/0.9794, allocations: 24 kB / 1.088 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.061e-05/0.9794, allocations: 32.38 kB / 1.088 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.752e-05/0.9795, allocations: 19.94 kB / 1.088 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0236/1.003, allocations: 12.81 MB / 1.101 GB, free: 8.512 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.929e-05/1.003, allocations: 4.844 kB / 1.101 GB, free: 8.508 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009642/1.004, allocations: 231.6 kB / 1.101 GB, free: 8.281 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008072/1.012, allocations: 2.852 MB / 1.104 GB, free: 5.41 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003486/1.012, allocations: 56 kB / 1.104 GB, free: 5.355 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04315/1.056, allocations: 32.7 MB / 1.136 GB, free: 3.809 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.097e-05/1.056, allocations: 8 kB / 1.136 GB, free: 3.801 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.349/1.405, allocations: 6.784 MB / 1.142 GB, free: 271.5 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001883/1.407, allocations: 0.7908 MB / 1.143 GB, free: 271.4 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00042/1.407, allocations: 58.77 kB / 1.143 GB, free: 271.4 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001542/1.408, allocations: 169 kB / 1.143 GB, free: 271.4 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006851/1.409, allocations: 249.4 kB / 1.144 GB, free: 271.4 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001473/1.409, allocations: 72.47 kB / 1.144 GB, free: 271.4 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001739/1.411, allocations: 1.523 MB / 1.145 GB, free: 271.3 MB / 0.8731 GB Notification: Performance of sort global known variables: time 8e-08/1.411, allocations: 0.8125 kB / 1.145 GB, free: 271.3 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.00304/1.414, allocations: 1.372 MB / 1.146 GB, free: 271.3 MB / 0.8731 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.01073/1.425, allocations: 7.416 MB / 1.154 GB, free: 269.9 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.01058/1.435, allocations: 6.567 MB / 1.16 GB, free: 267.1 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.325e-05/1.435, allocations: 2.906 kB / 1.16 GB, free: 267.1 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.006728/1.442, allocations: 4.251 MB / 1.164 GB, free: 265.1 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004103/1.446, allocations: 1.12 MB / 1.165 GB, free: 264.7 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0537/1.5, allocations: 38.95 MB / 1.203 GB, free: 247.4 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003502/1.503, allocations: 3.643 MB / 1.207 GB, free: 246 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001853/1.505, allocations: 0.561 MB / 1.208 GB, free: 245.9 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001541/1.507, allocations: 1.97 MB / 1.209 GB, free: 244.1 MB / 0.8731 GB Notification: Performance of SimCode: time 9.02e-07/1.507, allocations: 0 / 1.209 GB, free: 244.1 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.145/1.652, allocations: 112.4 MB / 1.319 GB, free: 133.3 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.18/16.83, allocations: 13.22 kB / 1.319 GB, free: 133.3 MB / 0.8731 GB " [Timeout remaining time 643] (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: 20.908660750836134] Failed to read output from testmodel.py, exit status != 0: 16.966056175064296 16.974477968 16.351485183 Calling exit ...