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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 99.09 kB / 16.27 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 190.9 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 222.9 MB / 240.9 MB, free: 15.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.808/0.808, allocations: 126.7 MB / 417.8 MB, free: 12.35 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002946/0.002946, allocations: 63.89 kB / 0.4958 GB, free: 2.715 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3318, allocations: 78.86 MB / 0.5729 GB, free: 30.86 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.5649/0.8968, allocations: 224.7 MB / 0.7923 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01583/0.9126, allocations: 12.66 MB / 0.8047 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002694/0.9154, allocations: 68.94 kB / 0.8048 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002392/0.9178, allocations: 1.196 MB / 0.8059 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006756/0.9246, allocations: 3.15 MB / 0.809 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004043/0.9286, allocations: 1.797 MB / 0.8108 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005852/0.9345, allocations: 4.181 MB / 0.8148 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002016/0.9365, allocations: 1.403 MB / 0.8162 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004774/0.9413, allocations: 2.111 MB / 0.8183 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001981/0.9433, allocations: 1.382 MB / 0.8196 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003227/0.9436, allocations: 180.9 kB / 0.8198 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005294/0.9489, allocations: 2.658 MB / 0.8224 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007501/0.9497, allocations: 0.9751 MB / 0.8234 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001552/0.9513, allocations: 1.447 MB / 0.8248 GB, free: 92 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007003/0.9583, allocations: 4.738 MB / 0.8294 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.9583, allocations: 0.9375 kB / 0.8294 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.026e-06/0.9583, allocations: 3.562 kB / 0.8294 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.809e-05/0.9584, allocations: 0.875 kB / 0.8294 GB, free: 14.73 MB / 0.5919 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.007098/0.9655, allocations: 3.368 MB / 0.8327 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.9656, allocations: 11.72 kB / 0.8327 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002454/0.9658, allocations: 170.4 kB / 0.8329 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00474/0.9706, allocations: 0.8096 MB / 0.8336 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0086/0.9792, allocations: 6.204 MB / 0.8397 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007322/0.98, allocations: 231 kB / 0.8399 GB, free: 8.402 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002295/0.9802, allocations: 109.8 kB / 0.84 GB, free: 8.367 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004024/0.9842, allocations: 2.061 MB / 0.842 GB, free: 6.383 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/0.9843, allocations: 2.438 kB / 0.842 GB, free: 6.383 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001521/0.9844, allocations: 51.98 kB / 0.8421 GB, free: 6.332 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.043e-05/0.9845, allocations: 46.06 kB / 0.8421 GB, free: 6.285 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005216/0.9897, allocations: 2.583 MB / 0.8447 GB, free: 3.703 MB / 0.5919 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.01714/1.007, allocations: 9.565 MB / 0.854 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004197/1.011, allocations: 2.179 MB / 0.8561 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001859/1.013, allocations: 0.9405 MB / 0.8571 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001251/1.014, allocations: 1.066 MB / 0.8581 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001993/1.016, allocations: 1.015 MB / 0.8591 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=91): time 3.095e-06/1.016, allocations: 0 / 0.8591 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of matching and sorting (n=91): time 0.02363/1.04, allocations: 5.978 MB / 0.8649 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/1.04, allocations: 149.1 kB / 0.8651 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01298/1.053, allocations: 8.883 MB / 0.8737 GB, free: 5.32 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0003557/1.053, allocations: 45.7 kB / 0.8738 GB, free: 5.27 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001315/1.055, allocations: 1.099 MB / 0.8749 GB, free: 4.164 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004538/1.055, allocations: 304.9 kB / 0.8751 GB, free: 3.871 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004992/1.056, allocations: 217 kB / 0.8754 GB, free: 3.656 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001761/1.056, allocations: 345.9 kB / 0.8757 GB, free: 3.312 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002248/1.058, allocations: 1.099 MB / 0.8768 GB, free: 2.211 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002395/1.061, allocations: 1.323 MB / 0.878 GB, free: 0.8242 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004154/1.065, allocations: 2.19 MB / 0.8802 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.257e-06/1.065, allocations: 4 kB / 0.8802 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.009363/1.074, allocations: 3.708 MB / 0.8838 GB, free: 10.85 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.402e-05/1.074, allocations: 73.73 kB / 0.8839 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.736e-05/1.074, allocations: 8.641 kB / 0.8839 GB, free: 10.76 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004769/1.079, allocations: 1.971 MB / 0.8858 GB, free: 8.777 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009831/1.08, allocations: 194.1 kB / 0.886 GB, free: 8.598 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00966/1.09, allocations: 6.786 MB / 0.8926 GB, free: 1.504 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002675/1.092, allocations: 247.4 kB / 0.8929 GB, free: 1.262 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001353/1.093, allocations: 59.97 kB / 0.8929 GB, free: 1.203 MB / 0.6387 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.001232/1.094, allocations: 0.6587 MB / 0.8936 GB, free: 0.5352 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005774/1.094, allocations: 268.7 kB / 0.8938 GB, free: 276 kB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008047/1.102, allocations: 3.223 MB / 0.897 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.861e-05/1.103, allocations: 12 kB / 0.897 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/1.103, allocations: 0 / 0.897 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.393e-05/1.103, allocations: 7.922 kB / 0.897 GB, free: 13.01 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01259/1.115, allocations: 5.895 MB / 0.9027 GB, free: 7.035 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-05/1.115, allocations: 4 kB / 0.9027 GB, free: 7.031 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000663/1.116, allocations: 103.4 kB / 0.9028 GB, free: 6.934 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004535/1.12, allocations: 1.97 MB / 0.9048 GB, free: 4.953 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001245/1.121, allocations: 35.97 kB / 0.9048 GB, free: 4.918 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009221/1.13, allocations: 6.73 MB / 0.9114 GB, free: 13.88 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/1.13, allocations: 4.031 kB / 0.9114 GB, free: 13.87 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008/1.138, allocations: 3.275 MB / 0.9146 GB, free: 10.52 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001451/1.139, allocations: 0.626 MB / 0.9152 GB, free: 9.875 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003913/1.14, allocations: 20 kB / 0.9152 GB, free: 9.855 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001672/1.141, allocations: 135.9 kB / 0.9153 GB, free: 9.723 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001777/1.142, allocations: 71.95 kB / 0.9154 GB, free: 9.656 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.881e-05/1.142, allocations: 39.97 kB / 0.9154 GB, free: 9.617 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.008663/1.15, allocations: 6.839 MB / 0.9221 GB, free: 2.777 MB / 0.67 GB Notification: Performance of sort global known variables: time 7.02e-07/1.15, allocations: 0 / 0.9221 GB, free: 2.777 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003245/1.154, allocations: 0.7298 MB / 0.9228 GB, free: 2.047 MB / 0.67 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.00985/1.163, allocations: 4.261 MB / 0.927 GB, free: 13.76 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.005836/1.169, allocations: 2.675 MB / 0.9296 GB, free: 11.06 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/1.169, allocations: 0 / 0.9296 GB, free: 11.06 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002735/1.172, allocations: 1.426 MB / 0.931 GB, free: 9.598 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005245/1.177, allocations: 1.027 MB / 0.932 GB, free: 8.609 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06908/1.246, allocations: 45.31 MB / 0.9763 GB, free: 9.465 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001735/1.248, allocations: 1.688 MB / 0.9779 GB, free: 7.738 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001828/1.25, allocations: 427.6 kB / 0.9783 GB, free: 7.32 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001457/1.252, allocations: 0.9562 MB / 0.9792 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of SimCode: time 9.82e-07/1.252, allocations: 0 / 0.9792 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4056/1.657, allocations: 80.67 MB / 1.058 GB, free: 356.7 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.47/15.13, allocations: 6.297 kB / 1.058 GB, free: 356.7 MB / 0.7794 GB (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 --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)