Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.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.001257/0.001257, allocations: 101.5 kB / 19.73 MB, free: 2.23 MB / 14.72 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.001437/0.001437, allocations: 217 kB / 23.04 MB, free: 5.074 MB / 14.72 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 1.509/1.509, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.533/3.533, allocations: 0.5003 GB / 0.8061 GB, free: 26.77 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_OrganicRankine_Validation_VariableSource",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_OrganicRankine_Validation_VariableSource",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 66.89 kB / 1.171 GB, free: 19.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4265/0.4285, allocations: 179 MB / 1.345 GB, free: 436 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.3014/0.7299, allocations: 229.4 MB / 1.569 GB, free: 10.16 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.02632/0.7562, allocations: 12.75 MB / 1.582 GB, free: 13.39 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004286/0.7605, allocations: 95.19 kB / 1.582 GB, free: 13.29 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.004429/0.765, allocations: 1.247 MB / 1.583 GB, free: 12.04 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.01078/0.7757, allocations: 3.33 MB / 1.586 GB, free: 8.699 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.006372/0.7821, allocations: 1.895 MB / 1.588 GB, free: 6.816 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.009493/0.7916, allocations: 4.217 MB / 1.592 GB, free: 2.586 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003579/0.7952, allocations: 1.121 MB / 1.593 GB, free: 1.434 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007028/0.8022, allocations: 2.199 MB / 1.596 GB, free: 15.23 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004131/0.8063, allocations: 1.478 MB / 1.597 GB, free: 13.75 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.00103/0.8074, allocations: 180 kB / 1.597 GB, free: 13.57 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00904/0.8164, allocations: 2.869 MB / 1.6 GB, free: 10.7 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.001916/0.8183, allocations: 1.005 MB / 1.601 GB, free: 9.688 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.004339/0.8227, allocations: 1.446 MB / 1.602 GB, free: 8.234 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.01209/0.8348, allocations: 4.831 MB / 1.607 GB, free: 3.387 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 9.598e-06/0.8348, allocations: 4 kB / 1.607 GB, free: 3.383 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8348, allocations: 0 / 1.607 GB, free: 3.383 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0001521/0.8349, allocations: 4 kB / 1.607 GB, free: 3.379 MB / 1.295 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.8323/1.667, allocations: 3.389 MB / 1.61 GB, free: 264.3 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/1.667, allocations: 9.938 kB / 1.61 GB, free: 264.3 MB / 1.295 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.278e-05/1.667, allocations: 27.62 kB / 1.61 GB, free: 264.3 MB / 1.295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004022/1.668, allocations: 170.2 kB / 1.611 GB, free: 264.2 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005212/1.673, allocations: 0.8202 MB / 1.611 GB, free: 264.2 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01091/1.684, allocations: 6.235 MB / 1.618 GB, free: 262.1 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001655/1.684, allocations: 140.8 kB / 1.618 GB, free: 262 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002417/1.684, allocations: 111 kB / 1.618 GB, free: 262 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004243/1.689, allocations: 2.062 MB / 1.62 GB, free: 261.2 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.902e-05/1.689, allocations: 0 / 1.62 GB, free: 261.2 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001333/1.689, allocations: 47.34 kB / 1.62 GB, free: 261.2 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.731e-05/1.689, allocations: 43.02 kB / 1.62 GB, free: 261.2 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006118/1.695, allocations: 2.562 MB / 1.622 GB, free: 260.4 MB / 1.295 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.01658/1.711, allocations: 9.46 MB / 1.632 GB, free: 255.5 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00473/1.716, allocations: 1.948 MB / 1.633 GB, free: 254.9 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002175/1.718, allocations: 0.8941 MB / 1.634 GB, free: 254.7 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007915/1.719, allocations: 169.3 kB / 1.635 GB, free: 254.7 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002324/1.721, allocations: 1.015 MB / 1.636 GB, free: 254.3 MB / 1.295 GB Notification: Performance of pre-optimization done (n=91): time 3.927e-06/1.721, allocations: 0 / 1.636 GB, free: 254.3 MB / 1.295 GB Notification: Performance of matching and sorting (n=91): time 0.02465/1.746, allocations: 5.651 MB / 1.641 GB, free: 252.9 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.591e-05/1.746, allocations: 147.9 kB / 1.641 GB, free: 252.8 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01058/1.757, allocations: 8.887 MB / 1.65 GB, free: 249.5 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0003061/1.757, allocations: 48.28 kB / 1.65 GB, free: 249.4 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007653/1.758, allocations: 1.114 MB / 1.651 GB, free: 248.5 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003035/1.758, allocations: 310.3 kB / 1.651 GB, free: 248.2 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003664/1.759, allocations: 226 kB / 1.652 GB, free: 248 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 6.663e-05/1.759, allocations: 353.9 kB / 1.652 GB, free: 247.7 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001633/1.76, allocations: 1.084 MB / 1.653 GB, free: 246.6 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001691/1.762, allocations: 1.308 MB / 1.654 GB, free: 245.2 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002949/1.765, allocations: 2.169 MB / 1.656 GB, free: 243 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/1.765, allocations: 8 kB / 1.656 GB, free: 243 MB / 1.295 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.007326/1.772, allocations: 3.688 MB / 1.66 GB, free: 239.2 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 6.322e-05/1.772, allocations: 71.39 kB / 1.66 GB, free: 239.2 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/1.772, allocations: 4 kB / 1.66 GB, free: 239.2 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004117/1.776, allocations: 1.989 MB / 1.662 GB, free: 237.2 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009858/1.777, allocations: 184.7 kB / 1.662 GB, free: 237 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007529/1.785, allocations: 6.59 MB / 1.669 GB, free: 230.1 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002855/1.788, allocations: 240.8 kB / 1.669 GB, free: 229.9 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002961/1.788, allocations: 51.98 kB / 1.669 GB, free: 229.9 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 17 (THotIn_set.nextEventScaled,THotIn_set.nextEvent,$PRE.THotIn_set.nextEvent,THotIn_set.last,THotIn_set.b,THotIn_set.a,mHot_flow_set.nextEventScaled,mHot_flow_set.nextEvent,$PRE.mHot_flow_set.nextEvent,mHot_flow_set.last,mHot_flow_set.b,mHot_flow_set.a,orc.cyc.hys.y,$PRE.orc.cyc.hys.y,orc.on_actual,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 79 * Array equations: 1 * Algorithm blocks: 2 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,4), (1,4), (4,26)} Notification: Performance of prepare postOptimizeDAE: time 0.001293/1.789, allocations: 0.6703 MB / 1.669 GB, free: 229.2 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001279/1.791, allocations: 282.2 kB / 1.67 GB, free: 228.9 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00815/1.799, allocations: 3.21 MB / 1.673 GB, free: 225.7 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.042e-05/1.799, allocations: 11.98 kB / 1.673 GB, free: 225.7 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/1.799, allocations: 0 / 1.673 GB, free: 225.7 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/1.799, allocations: 3.984 kB / 1.673 GB, free: 225.7 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01335/1.812, allocations: 5.861 MB / 1.679 GB, free: 219.7 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.941e-05/1.812, allocations: 4 kB / 1.679 GB, free: 219.7 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006979/1.813, allocations: 103.2 kB / 1.679 GB, free: 219.6 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004171/1.817, allocations: 1.966 MB / 1.681 GB, free: 217.7 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002418/1.817, allocations: 27.98 kB / 1.681 GB, free: 217.6 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007347/1.825, allocations: 6.551 MB / 1.687 GB, free: 210.8 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.314e-06/1.825, allocations: 7.938 kB / 1.687 GB, free: 210.8 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007195/1.832, allocations: 3.273 MB / 1.69 GB, free: 207.4 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001626/1.833, allocations: 0.5508 MB / 1.691 GB, free: 206.9 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008333/1.834, allocations: 28 kB / 1.691 GB, free: 206.9 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002077/1.836, allocations: 127.9 kB / 1.691 GB, free: 206.8 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000184/1.837, allocations: 76.41 kB / 1.691 GB, free: 206.7 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000118/1.837, allocations: 43.97 kB / 1.691 GB, free: 206.6 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.00635/1.843, allocations: 6.835 MB / 1.698 GB, free: 199.8 MB / 1.295 GB Notification: Performance of sort global known variables: time 9e-08/1.843, allocations: 0 / 1.698 GB, free: 199.8 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.003524/1.847, allocations: 0.7368 MB / 1.698 GB, free: 199.1 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,orc.on_actual,orc.cyc.hys.y,mHot_flow_set.a,mHot_flow_set.b,mHot_flow_set.last,mHot_flow_set.nextEvent,mHot_flow_set.nextEventScaled,THotIn_set.a,THotIn_set.b,THotIn_set.last,THotIn_set.nextEvent,THotIn_set.nextEventScaled) * Number of discrete states: 13 (THotIn_set.nextEvent,THotIn_set.last,THotIn_set.nextEventScaled,THotIn_set.b,THotIn_set.a,$whenCondition2,mHot_flow_set.nextEvent,mHot_flow_set.last,mHot_flow_set.nextEventScaled,mHot_flow_set.b,mHot_flow_set.a,$whenCondition1,orc.cyc.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 5 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,4), (1,4), (4,26)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008725/1.855, allocations: 4.214 MB / 1.703 GB, free: 194.8 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.005298/1.861, allocations: 2.541 MB / 1.705 GB, free: 192.2 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 9.818e-06/1.861, allocations: 0 / 1.705 GB, free: 192.2 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002424/1.863, allocations: 1.332 MB / 1.706 GB, free: 190.8 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006662/1.87, allocations: 1.033 MB / 1.707 GB, free: 189.8 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05382/1.923, allocations: 41.49 MB / 1.748 GB, free: 147.9 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00118/1.925, allocations: 1.684 MB / 1.75 GB, free: 146.2 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001591/1.926, allocations: 437.6 kB / 1.75 GB, free: 145.8 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001213/1.927, allocations: 0.9523 MB / 1.751 GB, free: 144.8 MB / 1.295 GB Notification: Performance of SimCode: time 1.753e-06/1.927, allocations: 4 kB / 1.751 GB, free: 144.8 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1296/2.057, allocations: 79.96 MB / 1.829 GB, free: 65.67 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.18/21.23, allocations: 14.81 kB / 1.829 GB, free: 65.66 MB / 1.295 GB " [Timeout remaining time 279] (rm -f Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_OrganicRankine_Validation_VariableSource_fmu --startTime=0 --stopTime=300 --stepSize=0.12 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_CHPs_OrganicRankine_Validation_VariableSource.fmu > Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 28.665835733991116] Failed to read output from testmodel.py, exit status != 0: 21.464448214974254 21.483920541 20.645130087 Calling exit ...