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.00125/0.00125, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.001425/0.001425, allocations: 215 kB / 20.13 MB, free: 2.949 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.546/1.546, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.133/3.133, allocations: 0.5003 GB / 0.8026 GB, free: 6.844 MB / 0.6387 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.002276/0.002276, allocations: 67.89 kB / 1.165 GB, free: 472 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.131/1.133, allocations: 178.9 MB / 1.34 GB, free: 16.21 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.3201/1.453, allocations: 228.7 MB / 1.564 GB, free: 3.184 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.02589/1.479, allocations: 12.69 MB / 1.576 GB, free: 6.461 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003764/1.483, allocations: 95.19 kB / 1.576 GB, free: 6.367 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.004243/1.487, allocations: 1.239 MB / 1.577 GB, free: 5.121 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.01048/1.498, allocations: 3.283 MB / 1.58 GB, free: 1.828 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.00595/1.504, allocations: 1.841 MB / 1.582 GB, free: 0 / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.00816/1.512, allocations: 4.155 MB / 1.586 GB, free: 11.83 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003072/1.515, allocations: 1.191 MB / 1.587 GB, free: 10.61 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006922/1.522, allocations: 2.175 MB / 1.59 GB, free: 8.434 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003653/1.525, allocations: 1.467 MB / 1.591 GB, free: 6.965 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0008195/1.526, allocations: 180 kB / 1.591 GB, free: 6.789 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007458/1.534, allocations: 2.807 MB / 1.594 GB, free: 3.977 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.001708/1.535, allocations: 1.005 MB / 1.595 GB, free: 2.969 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.003342/1.539, allocations: 1.446 MB / 1.596 GB, free: 1.516 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.009507/1.548, allocations: 4.827 MB / 1.601 GB, free: 12.67 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/1.548, allocations: 0 / 1.601 GB, free: 12.67 MB / 1.279 GB Notification: Performance of FrontEnd: time 2.405e-06/1.548, allocations: 3.938 kB / 1.601 GB, free: 12.67 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0001353/1.548, allocations: 0 / 1.601 GB, free: 12.67 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.009454/1.558, allocations: 3.476 MB / 1.604 GB, free: 9.109 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/1.558, allocations: 12.03 kB / 1.604 GB, free: 9.098 MB / 1.279 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.075e-05/1.558, allocations: 26.09 kB / 1.604 GB, free: 9.07 MB / 1.279 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002342/1.558, allocations: 165 kB / 1.605 GB, free: 8.898 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004935/1.563, allocations: 0.8294 MB / 1.605 GB, free: 8.066 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008963/1.572, allocations: 6.307 MB / 1.612 GB, free: 1.691 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001616/1.572, allocations: 123.8 kB / 1.612 GB, free: 1.562 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002327/1.572, allocations: 104 kB / 1.612 GB, free: 1.461 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004177/1.577, allocations: 2.054 MB / 1.614 GB, free: 15.34 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.837e-05/1.577, allocations: 8 kB / 1.614 GB, free: 15.33 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001376/1.577, allocations: 40 kB / 1.614 GB, free: 15.29 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.721e-05/1.577, allocations: 46.02 kB / 1.614 GB, free: 15.24 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005092/1.582, allocations: 2.561 MB / 1.616 GB, free: 12.67 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.01606/1.598, allocations: 9.533 MB / 1.626 GB, free: 2.832 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004456/1.602, allocations: 2.093 MB / 1.628 GB, free: 0.6953 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001948/1.604, allocations: 0.8868 MB / 1.629 GB, free: 15.8 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001329/1.606, allocations: 1.064 MB / 1.63 GB, free: 14.52 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002103/1.608, allocations: 1.016 MB / 1.631 GB, free: 13.48 MB / 1.311 GB Notification: Performance of pre-optimization done (n=91): time 4.969e-06/1.608, allocations: 7.984 kB / 1.631 GB, free: 13.47 MB / 1.311 GB Notification: Performance of matching and sorting (n=91): time 0.02423/1.632, allocations: 5.959 MB / 1.636 GB, free: 7.406 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000132/1.632, allocations: 141.2 kB / 1.637 GB, free: 7.238 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0133/1.646, allocations: 8.887 MB / 1.645 GB, free: 14.34 MB / 1.326 GB Notification: Performance of collectPreVariables (initialization): time 0.0003183/1.646, allocations: 45.7 kB / 1.645 GB, free: 14.29 MB / 1.326 GB Notification: Performance of collectInitialEqns (initialization): time 0.001244/1.647, allocations: 1.119 MB / 1.646 GB, free: 13.16 MB / 1.326 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004995/1.648, allocations: 313.3 kB / 1.647 GB, free: 12.85 MB / 1.326 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004847/1.648, allocations: 214.5 kB / 1.647 GB, free: 12.63 MB / 1.326 GB Notification: Performance of setup shared object (initialization): time 0.0001975/1.648, allocations: 353.9 kB / 1.647 GB, free: 12.28 MB / 1.326 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0022/1.65, allocations: 1.084 MB / 1.648 GB, free: 11.2 MB / 1.326 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002366/1.653, allocations: 1.309 MB / 1.65 GB, free: 9.816 MB / 1.326 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004085/1.657, allocations: 2.171 MB / 1.652 GB, free: 7.559 MB / 1.326 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.785e-06/1.657, allocations: 8 kB / 1.652 GB, free: 7.551 MB / 1.326 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.009269/1.666, allocations: 3.68 MB / 1.655 GB, free: 3.836 MB / 1.326 GB Notification: Performance of prepare postOptimizeDAE: time 9.549e-05/1.666, allocations: 71.38 kB / 1.655 GB, free: 3.754 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.74e-05/1.666, allocations: 8.094 kB / 1.655 GB, free: 3.746 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00514/1.671, allocations: 1.979 MB / 1.657 GB, free: 1.754 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/1.673, allocations: 183.7 kB / 1.657 GB, free: 1.574 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01042/1.683, allocations: 6.803 MB / 1.664 GB, free: 10.43 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002861/1.686, allocations: 242.9 kB / 1.664 GB, free: 10.2 MB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002022/1.686, allocations: 55.97 kB / 1.664 GB, free: 10.14 MB / 1.342 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.001471/1.688, allocations: 0.6609 MB / 1.665 GB, free: 9.457 MB / 1.342 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008576/1.688, allocations: 282.2 kB / 1.665 GB, free: 9.18 MB / 1.342 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008278/1.697, allocations: 3.189 MB / 1.668 GB, free: 5.953 MB / 1.342 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-05/1.697, allocations: 12 kB / 1.668 GB, free: 5.941 MB / 1.342 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/1.697, allocations: 3.938 kB / 1.668 GB, free: 5.938 MB / 1.342 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.528e-05/1.697, allocations: 7.984 kB / 1.668 GB, free: 5.93 MB / 1.342 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01396/1.711, allocations: 5.88 MB / 1.674 GB, free: 15.93 MB / 1.357 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.577e-05/1.711, allocations: 7.938 kB / 1.674 GB, free: 15.92 MB / 1.357 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006843/1.711, allocations: 99.88 kB / 1.674 GB, free: 15.82 MB / 1.357 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004807/1.716, allocations: 1.963 MB / 1.676 GB, free: 13.84 MB / 1.357 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001644/1.716, allocations: 31.98 kB / 1.676 GB, free: 13.81 MB / 1.357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009874/1.726, allocations: 6.741 MB / 1.683 GB, free: 6.746 MB / 1.357 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/1.726, allocations: 4.031 kB / 1.683 GB, free: 6.742 MB / 1.357 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008927/1.735, allocations: 3.277 MB / 1.686 GB, free: 3.383 MB / 1.357 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001738/1.737, allocations: 0.6198 MB / 1.687 GB, free: 2.742 MB / 1.357 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000451/1.737, allocations: 24 kB / 1.687 GB, free: 2.719 MB / 1.357 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001784/1.739, allocations: 132.1 kB / 1.687 GB, free: 2.59 MB / 1.357 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002209/1.739, allocations: 68.56 kB / 1.687 GB, free: 2.52 MB / 1.357 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001108/1.739, allocations: 43.98 kB / 1.687 GB, free: 2.477 MB / 1.357 GB Notification: Performance of sorting global known variables: time 0.009142/1.749, allocations: 6.839 MB / 1.694 GB, free: 11.64 MB / 1.373 GB Notification: Performance of sort global known variables: time 2.2e-07/1.749, allocations: 0 / 1.694 GB, free: 11.64 MB / 1.373 GB Notification: Performance of remove unused functions: time 0.003322/1.752, allocations: 0.7373 MB / 1.694 GB, free: 10.9 MB / 1.373 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.01016/1.762, allocations: 4.215 MB / 1.698 GB, free: 6.602 MB / 1.373 GB Notification: Performance of simCode: created initialization part: time 0.005534/1.768, allocations: 2.545 MB / 1.701 GB, free: 4.004 MB / 1.373 GB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/1.768, allocations: 0 / 1.701 GB, free: 4.004 MB / 1.373 GB Notification: Performance of simCode: created simulation system equations: time 0.002804/1.77, allocations: 1.324 MB / 1.702 GB, free: 2.625 MB / 1.373 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005325/1.776, allocations: 1.025 MB / 1.703 GB, free: 1.609 MB / 1.373 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06874/1.844, allocations: 41.49 MB / 1.744 GB, free: 7.707 MB / 1.42 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001558/1.846, allocations: 1.684 MB / 1.745 GB, free: 5.988 MB / 1.42 GB Notification: Performance of simCode: alias equations: time 0.001852/1.848, allocations: 427 kB / 1.746 GB, free: 5.566 MB / 1.42 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001521/1.849, allocations: 0.9639 MB / 1.747 GB, free: 4.602 MB / 1.42 GB Notification: Performance of SimCode: time 9.02e-07/1.849, allocations: 0 / 1.747 GB, free: 4.602 MB / 1.42 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.158/2.007, allocations: 78.95 MB / 1.824 GB, free: 6.445 MB / 1.498 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.97/20.98, allocations: 7.5 kB / 1.824 GB, free: 6.441 MB / 1.498 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.01383617700776] Failed to read output from testmodel.py, exit status != 0: 21.191139528993517 21.218077385 19.664559471 Calling exit ...