Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001273/0.001273, allocations: 101.9 kB / 19.73 MB, free: 1.965 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.001523/0.001523, allocations: 216.5 kB / 23.03 MB, free: 4.434 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.516/1.516, allocations: 230.6 MB / 256.8 MB, free: 7.727 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.279/3.279, allocations: 0.49 GB / 0.7959 GB, free: 35.36 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Fluid_CHPs_OrganicRankine_Validation_VariableSource",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource,fileNamePrefix="Buildings_12_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.00194/0.00194, allocations: 63.97 kB / 1.155 GB, free: 25.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3572/0.3591, allocations: 176.1 MB / 1.327 GB, free: 1.352 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.2612/0.6203, allocations: 199.7 MB / 1.522 GB, free: 8.926 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.02465/0.6449, allocations: 11.81 MB / 1.533 GB, free: 13.09 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004591/0.6495, allocations: 95.19 kB / 1.533 GB, free: 12.99 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.003867/0.6534, allocations: 1.162 MB / 1.534 GB, free: 11.82 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.009588/0.663, allocations: 3.309 MB / 1.538 GB, free: 8.504 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.005915/0.6689, allocations: 1.857 MB / 1.539 GB, free: 6.656 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.007351/0.6762, allocations: 4.206 MB / 1.544 GB, free: 2.441 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002656/0.6789, allocations: 1.125 MB / 1.545 GB, free: 1.277 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005979/0.6849, allocations: 2.216 MB / 1.547 GB, free: 15.05 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003162/0.688, allocations: 1.459 MB / 1.548 GB, free: 13.59 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0006946/0.6887, allocations: 180 kB / 1.548 GB, free: 13.42 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005827/0.6945, allocations: 2.343 MB / 1.551 GB, free: 11.07 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.001522/0.6961, allocations: 1.012 MB / 1.552 GB, free: 10.05 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.003112/0.6992, allocations: 1.158 MB / 1.553 GB, free: 8.891 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.009947/0.7091, allocations: 4.788 MB / 1.557 GB, free: 4.086 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.7091, allocations: 0 / 1.557 GB, free: 4.086 MB / 1.248 GB Notification: Performance of FrontEnd: time 2.014e-06/0.7091, allocations: 0 / 1.557 GB, free: 4.086 MB / 1.248 GB Notification: Performance of Transformations before backend: time 0.0001396/0.7093, allocations: 0 / 1.557 GB, free: 4.086 MB / 1.248 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.008157/0.7174, allocations: 3.406 MB / 1.561 GB, free: 0.6172 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.7175, allocations: 15.97 kB / 1.561 GB, free: 0.6016 MB / 1.248 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.177e-05/0.7175, allocations: 30.09 kB / 1.561 GB, free: 0.5703 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002389/0.7178, allocations: 169 kB / 1.561 GB, free: 404 kB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004839/0.7226, allocations: 0.8177 MB / 1.562 GB, free: 15.57 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009291/0.7319, allocations: 6.231 MB / 1.568 GB, free: 9.285 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002283/0.7321, allocations: 149.5 kB / 1.568 GB, free: 9.125 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004309/0.7326, allocations: 108 kB / 1.568 GB, free: 9.02 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005486/0.738, allocations: 2.241 MB / 1.57 GB, free: 6.664 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.007e-05/0.7381, allocations: 0 / 1.57 GB, free: 6.664 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002655/0.7383, allocations: 47.98 kB / 1.57 GB, free: 6.617 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.252e-05/0.7384, allocations: 46.06 kB / 1.57 GB, free: 6.57 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005587/0.744, allocations: 2.619 MB / 1.573 GB, free: 3.93 MB / 1.264 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.01551/0.7595, allocations: 8.176 MB / 1.581 GB, free: 11.63 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004074/0.7636, allocations: 1.993 MB / 1.583 GB, free: 9.617 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00187/0.7655, allocations: 0.9477 MB / 1.584 GB, free: 8.652 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000716/0.7662, allocations: 160.5 kB / 1.584 GB, free: 8.496 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002101/0.7683, allocations: 1.186 MB / 1.585 GB, free: 7.246 MB / 1.279 GB Notification: Performance of pre-optimization done (n=91): time 3.637e-06/0.7683, allocations: 0 / 1.585 GB, free: 7.246 MB / 1.279 GB Notification: Performance of matching and sorting (n=91): time 0.0229/0.7912, allocations: 5.776 MB / 1.591 GB, free: 1.41 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/0.7913, allocations: 145.2 kB / 1.591 GB, free: 1.238 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01341/0.8047, allocations: 8.895 MB / 1.6 GB, free: 8.324 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0003208/0.805, allocations: 45.7 kB / 1.6 GB, free: 8.273 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.001468/0.8065, allocations: 1.111 MB / 1.601 GB, free: 7.156 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006367/0.8071, allocations: 325.3 kB / 1.601 GB, free: 6.836 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007569/0.8079, allocations: 214.5 kB / 1.601 GB, free: 6.621 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001973/0.8081, allocations: 349.9 kB / 1.602 GB, free: 6.273 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002273/0.8104, allocations: 1.153 MB / 1.603 GB, free: 5.109 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002513/0.8129, allocations: 1.589 MB / 1.604 GB, free: 3.383 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004001/0.8169, allocations: 2.186 MB / 1.606 GB, free: 1.109 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-05/0.8169, allocations: 4 kB / 1.606 GB, free: 1.105 MB / 1.295 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.7544/1.571, allocations: 3.763 MB / 1.61 GB, free: 279.2 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 8.861e-05/1.571, allocations: 72.89 kB / 1.61 GB, free: 279.1 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.847e-05/1.571, allocations: 4.5 kB / 1.61 GB, free: 279.1 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005261/1.577, allocations: 1.985 MB / 1.612 GB, free: 279.1 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/1.578, allocations: 185.8 kB / 1.612 GB, free: 279.1 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008513/1.586, allocations: 6.546 MB / 1.619 GB, free: 274.9 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002718/1.589, allocations: 252.5 kB / 1.619 GB, free: 274.9 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002204/1.589, allocations: 52.66 kB / 1.619 GB, free: 274.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.001351/1.591, allocations: 0.6592 MB / 1.62 GB, free: 274.5 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009066/1.591, allocations: 279.4 kB / 1.62 GB, free: 274.4 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009412/1.601, allocations: 3.276 MB / 1.623 GB, free: 273.3 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.552e-05/1.601, allocations: 9.359 kB / 1.623 GB, free: 273.3 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/1.601, allocations: 0 / 1.623 GB, free: 273.3 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.839e-05/1.601, allocations: 5.828 kB / 1.623 GB, free: 273.3 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01461/1.616, allocations: 5.533 MB / 1.628 GB, free: 271.2 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.849e-05/1.616, allocations: 4.719 kB / 1.628 GB, free: 271.2 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006945/1.616, allocations: 107.2 kB / 1.629 GB, free: 271.2 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005557/1.622, allocations: 1.966 MB / 1.631 GB, free: 270.7 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002687/1.622, allocations: 36.27 kB / 1.631 GB, free: 270.7 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008845/1.631, allocations: 6.499 MB / 1.637 GB, free: 266 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.526e-06/1.631, allocations: 7.766 kB / 1.637 GB, free: 266 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008542/1.639, allocations: 3.347 MB / 1.64 GB, free: 264.6 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001867/1.641, allocations: 0.5496 MB / 1.641 GB, free: 264.3 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009321/1.642, allocations: 24.09 kB / 1.641 GB, free: 264.3 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002345/1.645, allocations: 132.2 kB / 1.641 GB, free: 264.3 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002796/1.645, allocations: 77.11 kB / 1.641 GB, free: 264.3 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001759/1.645, allocations: 42.59 kB / 1.641 GB, free: 264.2 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.008123/1.653, allocations: 6.838 MB / 1.648 GB, free: 261.1 MB / 1.295 GB Notification: Performance of sort global known variables: time 2.1e-07/1.653, allocations: 0 / 1.648 GB, free: 261.1 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.003217/1.656, allocations: 0.7381 MB / 1.648 GB, free: 260.5 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.008911/1.665, allocations: 4.287 MB / 1.653 GB, free: 256.6 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.004761/1.67, allocations: 2.675 MB / 1.655 GB, free: 254.1 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 9.517e-06/1.67, allocations: 0.875 kB / 1.655 GB, free: 254.1 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002363/1.672, allocations: 1.402 MB / 1.657 GB, free: 252.8 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006733/1.679, allocations: 1.025 MB / 1.658 GB, free: 252 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05713/1.736, allocations: 41.84 MB / 1.698 GB, free: 209.9 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001297/1.738, allocations: 1.115 MB / 1.699 GB, free: 208.7 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001631/1.739, allocations: 438.9 kB / 1.7 GB, free: 208.3 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001165/1.74, allocations: 0.9562 MB / 1.701 GB, free: 207.3 MB / 1.295 GB Notification: Performance of SimCode: time 1.172e-06/1.74, allocations: 0 / 1.701 GB, free: 207.3 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1202/1.861, allocations: 79.98 MB / 1.779 GB, free: 128.8 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.33/21.19, allocations: 24.2 kB / 1.779 GB, free: 128.8 MB / 1.295 GB " [Timeout remaining time 279] (rm -f Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_CHPs_OrganicRankine_Validation_VariableSource_fmu --startTime=0 --stopTime=300 --stepSize=0.12 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_CHPs_OrganicRankine_Validation_VariableSource.fmu > Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 28.289026840007864] Failed to read output from testmodel.py, exit status != 0: 21.40914870193228 21.42169208 20.709583019 Calling exit ...