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.001648/0.001648, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001554/0.001554, allocations: 219.9 kB / 23.03 MB, free: 4.953 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.477/1.477, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.26/3.26, allocations: 0.5003 GB / 0.8062 GB, free: 28.32 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.001993/0.001993, allocations: 63.16 kB / 1.17 GB, free: 19.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.3647, allocations: 179 MB / 1.345 GB, free: 15.98 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.2594/0.6241, allocations: 199.7 MB / 1.54 GB, free: 7.551 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.02065/0.6447, allocations: 11.8 MB / 1.552 GB, free: 11.73 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003027/0.6478, allocations: 99.19 kB / 1.552 GB, free: 11.63 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.003503/0.6513, allocations: 1.169 MB / 1.553 GB, free: 10.45 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.009344/0.6606, allocations: 3.294 MB / 1.556 GB, free: 7.148 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.00526/0.6659, allocations: 1.865 MB / 1.558 GB, free: 5.293 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.00709/0.6729, allocations: 4.213 MB / 1.562 GB, free: 1.066 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00215/0.6751, allocations: 1.117 MB / 1.563 GB, free: 15.92 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005377/0.6805, allocations: 2.217 MB / 1.565 GB, free: 13.7 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003039/0.6835, allocations: 1.465 MB / 1.567 GB, free: 12.23 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0004321/0.6839, allocations: 180 kB / 1.567 GB, free: 12.05 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005304/0.6892, allocations: 2.339 MB / 1.569 GB, free: 9.707 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.001201/0.6904, allocations: 1.012 MB / 1.57 GB, free: 8.691 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.001866/0.6923, allocations: 1.162 MB / 1.571 GB, free: 7.523 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.008403/0.7007, allocations: 4.788 MB / 1.576 GB, free: 2.719 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.7007, allocations: 0 / 1.576 GB, free: 2.719 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7007, allocations: 3.938 kB / 1.576 GB, free: 2.715 MB / 1.264 GB Notification: Performance of Transformations before backend: time 7.022e-05/0.7008, allocations: 0 / 1.576 GB, free: 2.715 MB / 1.264 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.007525/0.7083, allocations: 3.397 MB / 1.579 GB, free: 15.25 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 5.458e-05/0.7084, allocations: 12.03 kB / 1.579 GB, free: 15.24 MB / 1.279 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.498e-05/0.7084, allocations: 30.09 kB / 1.58 GB, free: 15.21 MB / 1.279 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002729/0.7087, allocations: 176.9 kB / 1.58 GB, free: 15.02 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005026/0.7137, allocations: 0.8177 MB / 1.58 GB, free: 14.2 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01126/0.725, allocations: 6.25 MB / 1.587 GB, free: 7.895 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000206/0.7252, allocations: 141.5 kB / 1.587 GB, free: 7.742 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002431/0.7254, allocations: 112 kB / 1.587 GB, free: 7.633 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004328/0.7298, allocations: 2.241 MB / 1.589 GB, free: 5.277 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.755e-05/0.7298, allocations: 3.938 kB / 1.589 GB, free: 5.273 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001332/0.7299, allocations: 48 kB / 1.589 GB, free: 5.227 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.388e-05/0.73, allocations: 38.08 kB / 1.589 GB, free: 5.188 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005072/0.7351, allocations: 2.623 MB / 1.592 GB, free: 2.543 MB / 1.279 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.01524/0.7503, allocations: 8.157 MB / 1.6 GB, free: 10.27 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004141/0.7544, allocations: 2.002 MB / 1.602 GB, free: 8.246 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001869/0.7563, allocations: 0.9516 MB / 1.603 GB, free: 7.281 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007461/0.757, allocations: 164.5 kB / 1.603 GB, free: 7.121 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002177/0.7592, allocations: 1.186 MB / 1.604 GB, free: 5.871 MB / 1.295 GB Notification: Performance of pre-optimization done (n=91): time 3.677e-06/0.7592, allocations: 0 / 1.604 GB, free: 5.871 MB / 1.295 GB Notification: Performance of matching and sorting (n=91): time 0.02525/0.7845, allocations: 5.783 MB / 1.609 GB, free: 32 kB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.6774/1.462, allocations: 142.8 kB / 1.61 GB, free: 263.9 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01465/1.476, allocations: 8.885 MB / 1.618 GB, free: 261.5 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0003007/1.477, allocations: 45.16 kB / 1.618 GB, free: 261.4 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009629/1.478, allocations: 1.113 MB / 1.619 GB, free: 260.7 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003887/1.478, allocations: 318.5 kB / 1.62 GB, free: 260.6 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004388/1.479, allocations: 217.7 kB / 1.62 GB, free: 260.5 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 8.842e-05/1.479, allocations: 344.9 kB / 1.62 GB, free: 260.2 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002394/1.481, allocations: 1.151 MB / 1.621 GB, free: 259.8 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002756/1.484, allocations: 1.594 MB / 1.623 GB, free: 259 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003543/1.487, allocations: 2.186 MB / 1.625 GB, free: 258 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-05/1.487, allocations: 1.688 kB / 1.625 GB, free: 258 MB / 1.295 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.008374/1.496, allocations: 3.766 MB / 1.629 GB, free: 256.8 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 6.691e-05/1.496, allocations: 77.03 kB / 1.629 GB, free: 256.7 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.75e-05/1.496, allocations: 5.031 kB / 1.629 GB, free: 256.7 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004715/1.501, allocations: 1.975 MB / 1.631 GB, free: 256.2 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/1.502, allocations: 181.7 kB / 1.631 GB, free: 256.2 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008292/1.51, allocations: 6.559 MB / 1.637 GB, free: 251.6 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002787/1.513, allocations: 244.2 kB / 1.638 GB, free: 251.5 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003031/1.513, allocations: 56.12 kB / 1.638 GB, free: 251.5 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.001497/1.514, allocations: 0.6648 MB / 1.638 GB, free: 251.1 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001009/1.515, allocations: 280 kB / 1.639 GB, free: 250.9 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009081/1.525, allocations: 3.269 MB / 1.642 GB, free: 249.9 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.757e-05/1.525, allocations: 13.55 kB / 1.642 GB, free: 249.9 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/1.525, allocations: 4.594 kB / 1.642 GB, free: 249.9 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.83e-05/1.525, allocations: 7.562 kB / 1.642 GB, free: 249.9 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01464/1.539, allocations: 5.532 MB / 1.647 GB, free: 247.7 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.034e-05/1.539, allocations: 3.812 kB / 1.647 GB, free: 247.7 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000628/1.54, allocations: 98.7 kB / 1.647 GB, free: 247.7 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004641/1.544, allocations: 1.977 MB / 1.649 GB, free: 247.2 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001746/1.545, allocations: 32.11 kB / 1.649 GB, free: 247.1 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007782/1.552, allocations: 6.493 MB / 1.656 GB, free: 241.1 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/1.552, allocations: 6.484 kB / 1.656 GB, free: 241.1 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007579/1.56, allocations: 3.356 MB / 1.659 GB, free: 238 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001667/1.562, allocations: 0.5499 MB / 1.659 GB, free: 237.6 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008249/1.563, allocations: 24 kB / 1.659 GB, free: 237.6 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002089/1.565, allocations: 129.3 kB / 1.66 GB, free: 237.5 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001967/1.565, allocations: 76.59 kB / 1.66 GB, free: 237.4 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001182/1.565, allocations: 43.97 kB / 1.66 GB, free: 237.4 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.006222/1.571, allocations: 6.836 MB / 1.666 GB, free: 231.1 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.21e-07/1.571, allocations: 4.766 kB / 1.666 GB, free: 231.1 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.002566/1.574, allocations: 0.7356 MB / 1.667 GB, free: 230.4 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.00803/1.582, allocations: 4.282 MB / 1.671 GB, free: 226.1 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.004372/1.586, allocations: 2.675 MB / 1.674 GB, free: 223.4 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 9.287e-06/1.586, allocations: 0 / 1.674 GB, free: 223.4 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002207/1.588, allocations: 1.405 MB / 1.675 GB, free: 221.9 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00526/1.594, allocations: 1.02 MB / 1.676 GB, free: 220.9 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0552/1.649, allocations: 41.84 MB / 1.717 GB, free: 178.7 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001322/1.65, allocations: 1.114 MB / 1.718 GB, free: 177.5 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001694/1.652, allocations: 431 kB / 1.719 GB, free: 177.1 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00131/1.653, allocations: 0.9562 MB / 1.719 GB, free: 176.2 MB / 1.295 GB Notification: Performance of SimCode: time 1.362e-06/1.653, allocations: 0 / 1.719 GB, free: 176.2 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1144/1.768, allocations: 79.99 MB / 1.798 GB, free: 97.47 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.93/20.7, allocations: 4 kB / 1.798 GB, free: 97.47 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: 27.643712915014476] Failed to read output from testmodel.py, exit status != 0: 20.92650959303137 20.94151475 20.236849195 Calling exit ...