Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.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.0008265/0.0008265, 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.0007932/0.0007932, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8761/0.8761, allocations: 177.1 MB / 202.8 MB, free: 5.723 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.001434/0.001434, allocations: 248.2 kB / 259.4 MB, free: 13 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.6624/0.6624, allocations: 138.4 MB / 454.3 MB, free: 29.99 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.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.6463 GB, free: 1.871 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.643e-05/1.788e-05, allocations: 5.375 kB / 0.6463 GB, free: 1.867 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise): time 0.3383/0.3383, allocations: 148.1 MB / 0.7909 GB, free: 6.945 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01368/0.352, allocations: 15.89 MB / 0.8065 GB, free: 7.016 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008069/0.3528, allocations: 43.62 kB / 0.8065 GB, free: 6.973 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0009843/0.3538, allocations: 0.5542 MB / 0.807 GB, free: 6.414 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002514/0.3563, allocations: 1.707 MB / 0.8087 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001791/0.3581, allocations: 1.36 MB / 0.81 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001724/0.3598, allocations: 2.777 MB / 0.8128 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001184/0.361, allocations: 1.508 MB / 0.8142 GB, free: 15 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00212/0.3631, allocations: 1.909 MB / 0.8161 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005813/0.3637, allocations: 0.7906 MB / 0.8169 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0001637/0.3638, allocations: 208 kB / 0.8171 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001407/0.3653, allocations: 1.31 MB / 0.8183 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0004545/0.3657, allocations: 0.5801 MB / 0.8189 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0004591/0.3662, allocations: 0.7326 MB / 0.8196 GB, free: 9.539 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.002374/0.3685, allocations: 3.314 MB / 0.8229 GB, free: 6.215 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3685, allocations: 0 / 0.8229 GB, free: 6.215 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3685, allocations: 0 / 0.8229 GB, free: 6.215 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.907e-05/0.3686, allocations: 0 / 0.8229 GB, free: 6.215 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 434 * Number of variables: 434 Notification: Performance of Generate backend data structure: time 0.002241/0.3708, allocations: 2.275 MB / 0.8251 GB, free: 3.891 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.3708, allocations: 13.94 kB / 0.8251 GB, free: 3.879 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002023/0.3711, allocations: 253 kB / 0.8253 GB, free: 3.621 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002014/0.3731, allocations: 0.5763 MB / 0.8259 GB, free: 3.043 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001126/0.3742, allocations: 1.053 MB / 0.8269 GB, free: 1.961 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.378e-05/0.3743, allocations: 127.4 kB / 0.827 GB, free: 1.836 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001336/0.3744, allocations: 168 kB / 0.8272 GB, free: 1.672 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00212/0.3765, allocations: 2.598 MB / 0.8297 GB, free: 14.84 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/0.3766, allocations: 4 kB / 0.8297 GB, free: 14.84 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/0.3767, allocations: 75.94 kB / 0.8298 GB, free: 14.76 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.962e-05/0.3767, allocations: 40 kB / 0.8299 GB, free: 14.72 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001938/0.3786, allocations: 1.828 MB / 0.8316 GB, free: 12.89 MB / 0.6667 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004446/0.3831, allocations: 3.957 MB / 0.8355 GB, free: 8.855 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001844/0.3849, allocations: 1.379 MB / 0.8369 GB, free: 7.477 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006924/0.3856, allocations: 0.5924 MB / 0.8374 GB, free: 6.887 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004975/0.3861, allocations: 181.1 kB / 0.8376 GB, free: 6.711 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001133/0.3872, allocations: 1.502 MB / 0.8391 GB, free: 5.039 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=146): time 2.455e-06/0.3872, allocations: 0 / 0.8391 GB, free: 5.039 MB / 0.6667 GB Notification: Performance of matching and sorting (n=146): time 0.003619/0.3909, allocations: 2.188 MB / 0.8412 GB, free: 2.832 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.177e-05/0.3909, allocations: 197.2 kB / 0.8414 GB, free: 2.598 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007496/0.3917, allocations: 0.8594 MB / 0.8422 GB, free: 1.715 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 8.382e-05/0.3918, allocations: 57.7 kB / 0.8423 GB, free: 1.652 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003543/0.3921, allocations: 0.6694 MB / 0.8429 GB, free: 0.9727 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002553/0.3924, allocations: 0.4918 MB / 0.8434 GB, free: 488 kB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002419/0.3926, allocations: 234.8 kB / 0.8436 GB, free: 244 kB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.3927, allocations: 357.9 kB / 0.844 GB, free: 15.88 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006202/0.3934, allocations: 470.4 kB / 0.8444 GB, free: 15.43 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008062/0.3942, allocations: 0.8677 MB / 0.8453 GB, free: 14.46 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001562/0.3957, allocations: 1.091 MB / 0.8463 GB, free: 13.36 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.3957, allocations: 0 / 0.8463 GB, free: 13.36 MB / 0.6823 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.001953/0.3977, allocations: 1.509 MB / 0.8478 GB, free: 11.83 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.3977, allocations: 11.94 kB / 0.8478 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.3977, allocations: 0 / 0.8478 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004595/0.3982, allocations: 192.1 kB / 0.848 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007538/0.3989, allocations: 327.6 kB / 0.8483 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003587/0.4025, allocations: 6.747 MB / 0.8549 GB, free: 3.977 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005694/0.4031, allocations: 157.2 kB / 0.8551 GB, free: 3.824 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.797e-05/0.4031, allocations: 51.95 kB / 0.8551 GB, free: 3.773 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000485/0.4036, allocations: 379 kB / 0.8555 GB, free: 3.395 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001749/0.4038, allocations: 140.8 kB / 0.8556 GB, free: 3.258 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002338/0.4061, allocations: 1.841 MB / 0.8574 GB, free: 1.395 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.787e-06/0.4061, allocations: 16 kB / 0.8574 GB, free: 1.379 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.4062, allocations: 4 kB / 0.8574 GB, free: 1.375 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.858e-06/0.4062, allocations: 11.91 kB / 0.8574 GB, free: 1.363 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003877/0.41, allocations: 3.194 MB / 0.8606 GB, free: 14.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.41, allocations: 3.938 kB / 0.8606 GB, free: 14.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006997/0.4107, allocations: 323.5 kB / 0.8609 GB, free: 13.78 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003516/0.4111, allocations: 184.1 kB / 0.8611 GB, free: 13.58 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.003e-05/0.4112, allocations: 35.97 kB / 0.8611 GB, free: 13.55 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003754/0.4149, allocations: 6.772 MB / 0.8677 GB, free: 6.195 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.4149, allocations: 5.812 kB / 0.8677 GB, free: 6.191 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002147/0.4171, allocations: 1.714 MB / 0.8694 GB, free: 4.441 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004828/0.4175, allocations: 334.5 kB / 0.8697 GB, free: 4.113 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/0.4176, allocations: 28 kB / 0.8697 GB, free: 4.086 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005569/0.4182, allocations: 103.9 kB / 0.8698 GB, free: 3.984 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001587/0.4184, allocations: 121.1 kB / 0.8699 GB, free: 3.867 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.994e-05/0.4185, allocations: 63.95 kB / 0.87 GB, free: 3.805 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005579/0.419, allocations: 0.6064 MB / 0.8706 GB, free: 3.188 MB / 0.698 GB Notification: Performance of sort global known variables: time 7e-08/0.419, allocations: 0 / 0.8706 GB, free: 3.188 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001174/0.4202, allocations: 0.6078 MB / 0.8712 GB, free: 2.578 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003539/0.4237, allocations: 2.937 MB / 0.8741 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001881/0.4256, allocations: 1.785 MB / 0.8758 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.265e-06/0.4256, allocations: 4.656 kB / 0.8758 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001051/0.4267, allocations: 1.243 MB / 0.877 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001214/0.4279, allocations: 0.5382 MB / 0.8775 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01081/0.4387, allocations: 10.11 MB / 0.8874 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006301/0.4393, allocations: 0.7216 MB / 0.8881 GB, free: 1.129 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0009229/0.4402, allocations: 430.4 kB / 0.8885 GB, free: 0.7031 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006145/0.4409, allocations: 0.6643 MB / 0.8892 GB, free: 40 kB / 0.7136 GB Notification: Performance of SimCode: time 8.32e-07/0.4409, allocations: 0 / 0.8892 GB, free: 40 kB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05469/0.4955, allocations: 41 MB / 0.9292 GB, free: 7.648 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.215/9.71, allocations: 7.234 kB / 0.9292 GB, free: 7.645 MB / 0.7605 GB " [Timeout remaining time 650] (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpLowRise_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --stepSize=241.92 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpLowRise.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.63688320480287] Failed to read output from testmodel.py, exit status != 0: 9.87509958166629 10.121410897 9.751013972 Calling exit ...