Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.0007887/0.0007887, allocations: 80.53 kB / 19.93 MB, free: 4.633 MB / 18.57 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.00134/0.00134, allocations: 169.9 kB / 23.21 MB, free: 1.359 MB / 18.57 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 0.8988/0.8988, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5468/0.5468, allocations: 114 MB / 373.9 MB, free: 8.711 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_CHPs_OrganicRankine_Validation_VariableSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_CHPs_OrganicRankine_Validation_VariableSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 0.5542 GB, free: 2.809 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.166e-05/3.388e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.805 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.4288/0.4289, allocations: 199.4 MB / 0.7489 GB, free: 40.53 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01455/0.4434, allocations: 11.81 MB / 0.7604 GB, free: 34.14 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003326/0.4467, allocations: 92.97 kB / 0.7605 GB, free: 34.14 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.003053/0.4498, allocations: 1.177 MB / 0.7617 GB, free: 33.79 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.007539/0.4573, allocations: 3.371 MB / 0.7649 GB, free: 32.19 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004103/0.4614, allocations: 1.908 MB / 0.7668 GB, free: 31.32 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.005631/0.4671, allocations: 4.227 MB / 0.7709 GB, free: 29.29 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001686/0.4687, allocations: 1.082 MB / 0.772 GB, free: 28.72 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004353/0.4731, allocations: 2.744 MB / 0.7747 GB, free: 27.55 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001569/0.4747, allocations: 1.244 MB / 0.7759 GB, free: 27.14 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.000228/0.4749, allocations: 178.6 kB / 0.7761 GB, free: 27.14 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003599/0.4785, allocations: 2.32 MB / 0.7783 GB, free: 26.41 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0005367/0.479, allocations: 1.041 MB / 0.7793 GB, free: 25.92 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.000756/0.4798, allocations: 0.9668 MB / 0.7803 GB, free: 25.5 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.005187/0.485, allocations: 4.836 MB / 0.785 GB, free: 23.92 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.485, allocations: 0 / 0.785 GB, free: 23.92 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.643e-06/0.485, allocations: 0 / 0.785 GB, free: 23.92 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.497e-05/0.485, allocations: 0 / 0.785 GB, free: 23.92 MB / 0.6355 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.004258/0.4893, allocations: 3.41 MB / 0.7883 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.4893, allocations: 9.031 kB / 0.7883 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001556/0.4895, allocations: 165.7 kB / 0.7885 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002434/0.4919, allocations: 0.8197 MB / 0.7893 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005349/0.4973, allocations: 6.238 MB / 0.7954 GB, free: 18.73 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001393/0.4974, allocations: 148.9 kB / 0.7955 GB, free: 18.62 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001443/0.4976, allocations: 105.1 kB / 0.7956 GB, free: 18.59 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002222/0.4998, allocations: 2.244 MB / 0.7978 GB, free: 17.57 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.4998, allocations: 0 / 0.7978 GB, free: 17.57 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.756e-05/0.4999, allocations: 47.33 kB / 0.7979 GB, free: 17.53 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.704e-05/0.4999, allocations: 51.41 kB / 0.7979 GB, free: 17.52 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002577/0.5025, allocations: 2.617 MB / 0.8005 GB, free: 16.66 MB / 0.6355 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.007823/0.5103, allocations: 8.155 MB / 0.8084 GB, free: 12.83 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002184/0.5125, allocations: 2 MB / 0.8104 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009458/0.5135, allocations: 0.9516 MB / 0.8113 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003776/0.5138, allocations: 167.2 kB / 0.8115 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001021/0.5149, allocations: 1.179 MB / 0.8126 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=91): time 3.546e-06/0.5149, allocations: 2.75 kB / 0.8126 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of matching and sorting (n=91): time 0.01079/0.5256, allocations: 5.791 MB / 0.8183 GB, free: 8.227 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/0.5257, allocations: 139.8 kB / 0.8184 GB, free: 8.07 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00673/0.5324, allocations: 8.895 MB / 0.8271 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001907/0.5326, allocations: 45.7 kB / 0.8272 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005864/0.5332, allocations: 1.111 MB / 0.8282 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002785/0.5335, allocations: 317.3 kB / 0.8285 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002595/0.5337, allocations: 214.5 kB / 0.8288 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.548e-05/0.5338, allocations: 345.9 kB / 0.8291 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001239/0.5351, allocations: 1.15 MB / 0.8302 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00135/0.5364, allocations: 1.603 MB / 0.8318 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002077/0.5385, allocations: 2.185 MB / 0.8339 GB, free: 9.59 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.5385, allocations: 4 kB / 0.8339 GB, free: 9.586 MB / 0.6511 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.004739/0.5432, allocations: 3.762 MB / 0.8376 GB, free: 5.809 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 5.293e-05/0.5433, allocations: 71.39 kB / 0.8376 GB, free: 5.727 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.5433, allocations: 8.375 kB / 0.8377 GB, free: 5.719 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002568/0.5459, allocations: 1.98 MB / 0.8396 GB, free: 3.727 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004693/0.5463, allocations: 181.4 kB / 0.8398 GB, free: 3.559 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005231/0.5516, allocations: 6.568 MB / 0.8462 GB, free: 12.74 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00141/0.553, allocations: 235 kB / 0.8464 GB, free: 12.51 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.943e-05/0.5531, allocations: 59.91 kB / 0.8465 GB, free: 12.45 MB / 0.6667 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.0009725/0.5541, allocations: 0.6625 MB / 0.8471 GB, free: 11.78 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004398/0.5545, allocations: 282.2 kB / 0.8474 GB, free: 11.5 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00411/0.5586, allocations: 3.269 MB / 0.8506 GB, free: 8.203 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/0.5586, allocations: 8 kB / 0.8506 GB, free: 8.195 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.5586, allocations: 7.625 kB / 0.8506 GB, free: 8.191 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.5586, allocations: 3.984 kB / 0.8506 GB, free: 8.188 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006857/0.5655, allocations: 5.532 MB / 0.856 GB, free: 2.551 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/0.5655, allocations: 4 kB / 0.856 GB, free: 2.547 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003034/0.5658, allocations: 99.03 kB / 0.8561 GB, free: 2.453 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002433/0.5682, allocations: 1.982 MB / 0.858 GB, free: 472 kB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.308e-05/0.5683, allocations: 31.97 kB / 0.8581 GB, free: 440 kB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004903/0.5732, allocations: 6.503 MB / 0.8644 GB, free: 9.668 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.5732, allocations: 4.031 kB / 0.8644 GB, free: 9.664 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004243/0.5775, allocations: 3.348 MB / 0.8677 GB, free: 6.234 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009615/0.5784, allocations: 0.5485 MB / 0.8682 GB, free: 5.684 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002293/0.5786, allocations: 27.94 kB / 0.8682 GB, free: 5.656 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007813/0.5794, allocations: 123.9 kB / 0.8684 GB, free: 5.535 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/0.5795, allocations: 83.7 kB / 0.8684 GB, free: 5.457 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.34e-05/0.5796, allocations: 39.98 kB / 0.8685 GB, free: 5.418 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.004896/0.5845, allocations: 6.831 MB / 0.8751 GB, free: 14.58 MB / 0.698 GB Notification: Performance of sort global known variables: time 7e-08/0.5845, allocations: 0 / 0.8751 GB, free: 14.58 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001663/0.5862, allocations: 0.7372 MB / 0.8759 GB, free: 13.85 MB / 0.698 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.005255/0.5914, allocations: 4.32 MB / 0.8801 GB, free: 9.449 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002949/0.5944, allocations: 2.652 MB / 0.8827 GB, free: 6.746 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/0.5944, allocations: 8.062 kB / 0.8827 GB, free: 6.738 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0014/0.5958, allocations: 1.401 MB / 0.884 GB, free: 5.289 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002912/0.5987, allocations: 1.01 MB / 0.885 GB, free: 4.312 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04453/0.6432, allocations: 41.74 MB / 0.9258 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000814/0.644, allocations: 1.107 MB / 0.9269 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001451/0.6455, allocations: 424.3 kB / 0.9273 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008227/0.6463, allocations: 0.965 MB / 0.9282 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of SimCode: time 1.242e-06/0.6463, allocations: 0 / 0.9282 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3723/1.019, allocations: 79.64 MB / 1.006 GB, free: 178.1 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.24/11.26, allocations: 3.969 kB / 1.006 GB, free: 178.1 MB / 0.7917 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_CHPs_OrganicRankine_Validation_VariableSource_fmu --startTime=0 --stopTime=300 --stepSize=0.12 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_CHPs_OrganicRankine_Validation_VariableSource.fmu > IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.832336732186377] Failed to read output from testmodel.py, exit status != 0: 11.397487802430987 11.406161972 10.919231858 Calling exit ...