Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.00137/0.00137, allocations: 107.8 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.001356/0.001356, 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.278/1.278, allocations: 225.6 MB / 247.8 MB, free: 3.746 MB / 190.1 MB " [Timeout remaining time 179] 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.002228/0.002228, allocations: 278.8 kB / 302.9 MB, free: 3.582 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 0.9613/0.9613, allocations: 180.9 MB / 0.5261 GB, free: 2.758 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.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002561/0.002561, allocations: 99.84 kB / 0.7248 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4244/0.427, allocations: 94.16 MB / 0.8167 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.004551/0.4315, allocations: 4.337 MB / 0.8209 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002939/0.4345, allocations: 2.393 MB / 0.8233 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002974/0.4348, allocations: 18.38 kB / 0.8233 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000954/0.4357, allocations: 380.2 kB / 0.8237 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0007765/0.4365, allocations: 382.7 kB / 0.824 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006732/0.4372, allocations: 319.8 kB / 0.8243 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006706/0.4378, allocations: 0.6842 MB / 0.825 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003214/0.4382, allocations: 210.9 kB / 0.8252 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003358/0.4385, allocations: 257.5 kB / 0.8254 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003332/0.4388, allocations: 288.3 kB / 0.8257 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.387e-05/0.4389, allocations: 28.34 kB / 0.8258 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006248/0.4395, allocations: 437.3 kB / 0.8262 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001327/0.4396, allocations: 148.1 kB / 0.8263 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001782/0.4398, allocations: 237.3 kB / 0.8265 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008407/0.4407, allocations: 0.7377 MB / 0.8273 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.4407, allocations: 0 / 0.8273 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.112e-06/0.4407, allocations: 4 kB / 0.8273 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.352e-05/0.4407, allocations: 0 / 0.8273 GB, free: 0.7188 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.0008594/0.4415, allocations: 0.7968 MB / 0.828 GB, free: 88 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.4416, allocations: 11.09 kB / 0.828 GB, free: 88 kB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.934e-05/0.4416, allocations: 74.2 kB / 0.8281 GB, free: 28 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001213/0.4428, allocations: 195.3 kB / 0.8283 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006416/0.4435, allocations: 450.5 kB / 0.8287 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.506e-05/0.4435, allocations: 31.73 kB / 0.8288 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.695e-05/0.4436, allocations: 30.66 kB / 0.8288 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008198/0.4444, allocations: 0.6512 MB / 0.8294 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.4444, allocations: 2.781 kB / 0.8294 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.089e-05/0.4444, allocations: 18.67 kB / 0.8295 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.624e-05/0.4445, allocations: 55.72 kB / 0.8295 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006423/0.4451, allocations: 0.4907 MB / 0.83 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003222/0.4484, allocations: 3.783 MB / 0.8337 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001466/0.4498, allocations: 0.6084 MB / 0.8343 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000219/0.4501, allocations: 166.6 kB / 0.8344 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.4501, allocations: 6.844 kB / 0.8344 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.4501, allocations: 41.39 kB / 0.8345 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=30): time 1.343e-06/0.4501, allocations: 0 / 0.8345 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.001996/0.4521, allocations: 1.287 MB / 0.8357 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.095e-05/0.4522, allocations: 115.6 kB / 0.8358 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003766/0.4525, allocations: 403.2 kB / 0.8362 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.817e-05/0.4526, allocations: 31.55 kB / 0.8363 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001885/0.4528, allocations: 288.8 kB / 0.8365 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.697e-05/0.4529, allocations: 124.1 kB / 0.8367 GB, free: 9.844 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001217/0.453, allocations: 99.92 kB / 0.8367 GB, free: 9.789 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.4531, allocations: 351.6 kB / 0.8371 GB, free: 9.461 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002341/0.4534, allocations: 179.9 kB / 0.8373 GB, free: 9.402 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003748/0.4537, allocations: 381.2 kB / 0.8376 GB, free: 9.082 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006527/0.4544, allocations: 0.593 MB / 0.8382 GB, free: 8.645 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.4544, allocations: 0 / 0.8382 GB, free: 8.645 MB / 0.5919 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001039/0.4554, allocations: 0.6681 MB / 0.8388 GB, free: 8.355 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.4554, allocations: 15.81 kB / 0.8389 GB, free: 8.348 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.4555, allocations: 6.531 kB / 0.8389 GB, free: 8.348 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003085/0.4558, allocations: 104.7 kB / 0.839 GB, free: 8.301 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003471/0.4561, allocations: 112.7 kB / 0.8391 GB, free: 8.289 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003365/0.4595, allocations: 4.351 MB / 0.8433 GB, free: 4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002793/0.4598, allocations: 29.64 kB / 0.8434 GB, free: 3.992 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.671e-05/0.4598, allocations: 25.42 kB / 0.8434 GB, free: 3.988 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000223/0.46, allocations: 199.2 kB / 0.8436 GB, free: 3.824 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001168/0.4601, allocations: 51.78 kB / 0.8436 GB, free: 3.797 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009651/0.4611, allocations: 0.5127 MB / 0.8441 GB, free: 3.562 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.4611, allocations: 4.156 kB / 0.8441 GB, free: 3.562 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.4611, allocations: 2.922 kB / 0.8441 GB, free: 3.562 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.4611, allocations: 2.609 kB / 0.8441 GB, free: 3.562 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001914/0.463, allocations: 1.279 MB / 0.8454 GB, free: 2.746 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.463, allocations: 2.969 kB / 0.8454 GB, free: 2.746 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002152/0.4633, allocations: 68.8 kB / 0.8454 GB, free: 2.734 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002283/0.4635, allocations: 84.92 kB / 0.8455 GB, free: 2.699 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.482e-05/0.4635, allocations: 12.97 kB / 0.8455 GB, free: 2.691 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003273/0.4668, allocations: 4.343 MB / 0.8498 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.4668, allocations: 2.312 kB / 0.8498 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008543/0.4676, allocations: 0.7768 MB / 0.8505 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002075/0.4678, allocations: 161.1 kB / 0.8507 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.375e-05/0.4679, allocations: 14.34 kB / 0.8507 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002801/0.4682, allocations: 25.3 kB / 0.8507 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.073e-05/0.4682, allocations: 34.11 kB / 0.8508 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.4683, allocations: 11.31 kB / 0.8508 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002845/0.4685, allocations: 280.8 kB / 0.851 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.4685, allocations: 4 kB / 0.851 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000566/0.4691, allocations: 120.3 kB / 0.8512 GB, free: 13.54 MB / 0.6075 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 (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001161/0.4703, allocations: 1.334 MB / 0.8525 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001136/0.4714, allocations: 0.7792 MB / 0.8532 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.4714, allocations: 1.25 kB / 0.8532 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006716/0.4721, allocations: 0.5381 MB / 0.8538 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008046/0.4729, allocations: 138.2 kB / 0.8539 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005219/0.4781, allocations: 4.562 MB / 0.8583 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004875/0.4786, allocations: 0.8609 MB / 0.8592 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002417/0.4788, allocations: 108.8 kB / 0.8593 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001976/0.479, allocations: 152.4 kB / 0.8594 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of SimCode: time 2.81e-07/0.479, allocations: 0 / 0.8594 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04307/0.5221, allocations: 10.12 MB / 0.8693 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.281/9.803, allocations: 5.594 kB / 0.8693 GB, free: 3.664 MB / 0.6075 GB " [Timeout remaining time 650] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.fmu > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.237544634845108] Failed to read output from testmodel.py, exit status != 0: 9.892202097922564 9.904253875 9.461081169 Calling exit ...