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.001549/0.001549, allocations: 109.5 kB / 19.73 MB, free: 2.238 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.001744/0.001744, allocations: 220 kB / 23.04 MB, free: 5.078 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.519/1.519, 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 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.161/3.161, allocations: 0.49 GB / 0.7959 GB, free: 33.37 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.002011/0.002011, allocations: 72.42 kB / 1.155 GB, free: 25.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3677/0.3697, allocations: 176.1 MB / 1.327 GB, free: 1.977 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.2812/0.6509, allocations: 229.4 MB / 1.551 GB, free: 11.72 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.02204/0.673, allocations: 12.74 MB / 1.563 GB, free: 14.94 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003222/0.6762, allocations: 91.25 kB / 1.563 GB, free: 14.85 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.003788/0.68, allocations: 1.259 MB / 1.564 GB, free: 13.59 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.009425/0.6894, allocations: 3.329 MB / 1.568 GB, free: 10.25 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.005205/0.6946, allocations: 1.893 MB / 1.57 GB, free: 8.363 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.007878/0.7025, allocations: 4.214 MB / 1.574 GB, free: 4.141 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002906/0.7054, allocations: 1.125 MB / 1.575 GB, free: 2.977 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006855/0.7122, allocations: 2.201 MB / 1.577 GB, free: 0.7695 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003967/0.7162, allocations: 1.467 MB / 1.578 GB, free: 15.3 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0005685/0.7168, allocations: 180 kB / 1.579 GB, free: 15.12 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007165/0.7239, allocations: 2.865 MB / 1.581 GB, free: 12.25 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.00154/0.7255, allocations: 1.012 MB / 1.582 GB, free: 11.24 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.002589/0.7281, allocations: 1.446 MB / 1.584 GB, free: 9.785 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.009803/0.7379, allocations: 4.834 MB / 1.588 GB, free: 4.934 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.7379, allocations: 0 / 1.588 GB, free: 4.934 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7379, allocations: 3.938 kB / 1.588 GB, free: 4.93 MB / 1.279 GB Notification: Performance of Transformations before backend: time 7.786e-05/0.7379, allocations: 0 / 1.588 GB, free: 4.93 MB / 1.279 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.7455, allocations: 3.393 MB / 1.592 GB, free: 1.473 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.7455, allocations: 15.97 kB / 1.592 GB, free: 1.457 MB / 1.279 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.674e-05/0.7456, allocations: 30.09 kB / 1.592 GB, free: 1.426 MB / 1.279 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002162/0.7458, allocations: 169 kB / 1.592 GB, free: 1.25 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004855/0.7506, allocations: 0.8215 MB / 1.593 GB, free: 436 kB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009922/0.7606, allocations: 6.228 MB / 1.599 GB, free: 10.14 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001756/0.7607, allocations: 141.5 kB / 1.599 GB, free: 9.988 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002518/0.761, allocations: 116 kB / 1.599 GB, free: 9.875 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00411/0.7651, allocations: 2.054 MB / 1.601 GB, free: 7.75 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.22e-05/0.7651, allocations: 3.938 kB / 1.601 GB, free: 7.746 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001341/0.7653, allocations: 44 kB / 1.601 GB, free: 7.703 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-05/0.7653, allocations: 42.08 kB / 1.601 GB, free: 7.66 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004986/0.7703, allocations: 2.561 MB / 1.604 GB, free: 5.09 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.6584/1.429, allocations: 9.465 MB / 1.613 GB, free: 278 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004218/1.433, allocations: 1.947 MB / 1.615 GB, free: 277.4 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00189/1.435, allocations: 0.8886 MB / 1.616 GB, free: 277.1 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000705/1.435, allocations: 173.5 kB / 1.616 GB, free: 277.1 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002135/1.438, allocations: 1.016 MB / 1.617 GB, free: 276.7 MB / 1.295 GB Notification: Performance of pre-optimization done (n=91): time 3.637e-06/1.438, allocations: 0 / 1.617 GB, free: 276.7 MB / 1.295 GB Notification: Performance of matching and sorting (n=91): time 0.02483/1.462, allocations: 5.651 MB / 1.622 GB, free: 275.7 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.938e-05/1.463, allocations: 151.6 kB / 1.623 GB, free: 275.5 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0153/1.478, allocations: 8.884 MB / 1.631 GB, free: 272.3 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0003169/1.478, allocations: 45.67 kB / 1.631 GB, free: 272.3 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009704/1.479, allocations: 1.116 MB / 1.632 GB, free: 271.5 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003718/1.479, allocations: 312.2 kB / 1.633 GB, free: 271.3 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004242/1.48, allocations: 222.2 kB / 1.633 GB, free: 271.2 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 9.588e-05/1.48, allocations: 348.2 kB / 1.633 GB, free: 270.9 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001955/1.482, allocations: 1.085 MB / 1.634 GB, free: 270.6 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002042/1.484, allocations: 1.306 MB / 1.636 GB, free: 270 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00352/1.488, allocations: 2.181 MB / 1.638 GB, free: 269 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.613e-06/1.488, allocations: 0 / 1.638 GB, free: 269 MB / 1.295 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.008021/1.496, allocations: 3.695 MB / 1.641 GB, free: 267.8 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 6.272e-05/1.496, allocations: 71.55 kB / 1.641 GB, free: 267.7 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.659e-05/1.496, allocations: 4.625 kB / 1.641 GB, free: 267.7 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004805/1.5, allocations: 1.982 MB / 1.643 GB, free: 267.2 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/1.501, allocations: 187.4 kB / 1.643 GB, free: 267.2 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007667/1.509, allocations: 6.588 MB / 1.65 GB, free: 262.1 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002631/1.512, allocations: 251 kB / 1.65 GB, free: 261.9 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002507/1.512, allocations: 54.28 kB / 1.65 GB, free: 261.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.001268/1.513, allocations: 0.6567 MB / 1.651 GB, free: 261.2 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008781/1.514, allocations: 278.2 kB / 1.651 GB, free: 261 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007208/1.521, allocations: 3.206 MB / 1.654 GB, free: 257.9 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.629e-05/1.521, allocations: 15.92 kB / 1.654 GB, free: 257.9 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/1.521, allocations: 4 kB / 1.654 GB, free: 257.9 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/1.521, allocations: 3.984 kB / 1.654 GB, free: 257.9 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01153/1.533, allocations: 5.86 MB / 1.66 GB, free: 251.9 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.364e-05/1.533, allocations: 4 kB / 1.66 GB, free: 251.9 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000636/1.534, allocations: 102.7 kB / 1.66 GB, free: 251.8 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004179/1.538, allocations: 1.97 MB / 1.662 GB, free: 249.9 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000176/1.538, allocations: 31.08 kB / 1.662 GB, free: 249.8 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007363/1.545, allocations: 6.537 MB / 1.668 GB, free: 243 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.159e-06/1.545, allocations: 4.031 kB / 1.668 GB, free: 243 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006963/1.552, allocations: 3.281 MB / 1.672 GB, free: 239.7 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001609/1.554, allocations: 0.5468 MB / 1.672 GB, free: 239.1 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000855/1.555, allocations: 28 kB / 1.672 GB, free: 239.1 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002059/1.557, allocations: 127.9 kB / 1.672 GB, free: 239 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000193/1.557, allocations: 76.41 kB / 1.672 GB, free: 238.9 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001199/1.557, allocations: 43.97 kB / 1.672 GB, free: 238.9 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.006299/1.563, allocations: 6.839 MB / 1.679 GB, free: 232 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.8e-07/1.563, allocations: 0 / 1.679 GB, free: 232 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.002995/1.566, allocations: 0.7419 MB / 1.68 GB, free: 231.3 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.008544/1.575, allocations: 4.219 MB / 1.684 GB, free: 227.1 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.004644/1.58, allocations: 2.546 MB / 1.686 GB, free: 224.5 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/1.58, allocations: 0 / 1.686 GB, free: 224.5 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002181/1.582, allocations: 1.329 MB / 1.688 GB, free: 223.1 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005106/1.587, allocations: 1.023 MB / 1.689 GB, free: 222.1 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05566/1.643, allocations: 41.5 MB / 1.729 GB, free: 180.3 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001546/1.644, allocations: 1.688 MB / 1.731 GB, free: 178.6 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001681/1.646, allocations: 435 kB / 1.731 GB, free: 178.1 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001487/1.647, allocations: 0.9523 MB / 1.732 GB, free: 177.2 MB / 1.295 GB Notification: Performance of SimCode: time 1.172e-06/1.647, allocations: 0 / 1.732 GB, free: 177.2 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1257/1.773, allocations: 79.94 MB / 1.81 GB, free: 98.11 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.93/20.71, allocations: 11.25 kB / 1.81 GB, free: 98.11 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: 27.58145489101298] Failed to read output from testmodel.py, exit status != 0: 20.92681230296148 20.937546188 20.196971854 Calling exit ...