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.001572/0.001572, allocations: 104.8 kB / 15.99 MB, free: 6.352 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.001542/0.001542, allocations: 194.2 kB / 16.91 MB, free: 6.195 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.406/1.406, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8162/0.8162, allocations: 126.7 MB / 417.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 67.89 kB / 0.4953 GB, free: 3.078 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3471, allocations: 78.87 MB / 0.5724 GB, free: 30.78 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.558/0.9052, allocations: 221.9 MB / 0.7891 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01752/0.9227, allocations: 12.6 MB / 0.8014 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003962/0.9267, allocations: 60.88 kB / 0.8015 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003422/0.9302, allocations: 1.083 MB / 0.8025 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008908/0.9391, allocations: 2.947 MB / 0.8054 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00489/0.944, allocations: 1.657 MB / 0.807 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006122/0.9502, allocations: 4.203 MB / 0.8111 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002576/0.9528, allocations: 1.39 MB / 0.8125 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005394/0.9582, allocations: 2.118 MB / 0.8145 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002855/0.9611, allocations: 1.493 MB / 0.816 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003738/0.9615, allocations: 178.3 kB / 0.8162 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00758/0.969, allocations: 2.752 MB / 0.8189 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.00149/0.9706, allocations: 0.9893 MB / 0.8198 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002134/0.9727, allocations: 1.444 MB / 0.8212 GB, free: 268 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.009647/0.9824, allocations: 4.854 MB / 0.826 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.9824, allocations: 0 / 0.826 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.352e-06/0.9824, allocations: 0.9062 kB / 0.826 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.26e-05/0.9825, allocations: 0 / 0.826 GB, free: 15.55 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.007631/0.9902, allocations: 3.37 MB / 0.8293 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.9902, allocations: 10.28 kB / 0.8293 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002394/0.9905, allocations: 169.3 kB / 0.8294 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00489/0.9954, allocations: 0.8119 MB / 0.8302 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008836/1.004, allocations: 6.221 MB / 0.8363 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006979/1.005, allocations: 230.8 kB / 0.8365 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003164/1.005, allocations: 110.1 kB / 0.8366 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004044/1.009, allocations: 2.063 MB / 0.8387 GB, free: 8.344 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.364e-05/1.009, allocations: 6.891 kB / 0.8387 GB, free: 8.34 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001403/1.01, allocations: 51.94 kB / 0.8387 GB, free: 8.289 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.554e-05/1.01, allocations: 46.08 kB / 0.8388 GB, free: 8.242 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00493/1.015, allocations: 2.578 MB / 0.8413 GB, free: 5.664 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.01567/1.03, allocations: 9.542 MB / 0.8506 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004503/1.035, allocations: 2.175 MB / 0.8527 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001845/1.037, allocations: 0.9544 MB / 0.8536 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001236/1.038, allocations: 1.056 MB / 0.8547 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002004/1.04, allocations: 1.024 MB / 0.8557 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=91): time 4.218e-06/1.04, allocations: 0 / 0.8557 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of matching and sorting (n=91): time 0.02377/1.064, allocations: 5.973 MB / 0.8615 GB, free: 388 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000125/1.064, allocations: 148.2 kB / 0.8616 GB, free: 212 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01424/1.078, allocations: 8.879 MB / 0.8703 GB, free: 7.312 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0003451/1.078, allocations: 45.7 kB / 0.8704 GB, free: 7.262 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001147/1.08, allocations: 1.108 MB / 0.8714 GB, free: 6.145 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004182/1.08, allocations: 300.6 kB / 0.8717 GB, free: 5.855 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004406/1.081, allocations: 214.4 kB / 0.8719 GB, free: 5.637 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001708/1.081, allocations: 345.9 kB / 0.8723 GB, free: 5.293 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002043/1.083, allocations: 1.099 MB / 0.8733 GB, free: 4.195 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002268/1.085, allocations: 1.309 MB / 0.8746 GB, free: 2.816 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003878/1.089, allocations: 2.196 MB / 0.8768 GB, free: 0.5547 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/1.089, allocations: 0 / 0.8768 GB, free: 0.5547 MB / 0.6231 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.00877/1.098, allocations: 3.704 MB / 0.8804 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 8.734e-05/1.098, allocations: 71.33 kB / 0.8804 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.808e-05/1.098, allocations: 8 kB / 0.8805 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004793/1.103, allocations: 1.984 MB / 0.8824 GB, free: 10.76 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009638/1.104, allocations: 184.7 kB / 0.8826 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009482/1.113, allocations: 6.81 MB / 0.8892 GB, free: 3.473 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002982/1.116, allocations: 282.5 kB / 0.8895 GB, free: 3.195 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001386/1.116, allocations: 51.97 kB / 0.8895 GB, free: 3.145 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.001259/1.118, allocations: 0.6666 MB / 0.8902 GB, free: 2.469 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005518/1.118, allocations: 264.7 kB / 0.8904 GB, free: 2.207 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008072/1.126, allocations: 3.218 MB / 0.8936 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.843e-05/1.126, allocations: 8 kB / 0.8936 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/1.126, allocations: 4.094 kB / 0.8936 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.975e-05/1.126, allocations: 11.86 kB / 0.8936 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01507/1.141, allocations: 5.898 MB / 0.8994 GB, free: 8.973 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/1.141, allocations: 0 / 0.8994 GB, free: 8.973 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000658/1.142, allocations: 106.5 kB / 0.8995 GB, free: 8.875 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004535/1.147, allocations: 1.97 MB / 0.9014 GB, free: 6.895 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001272/1.147, allocations: 35.97 kB / 0.9014 GB, free: 6.859 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009245/1.156, allocations: 6.728 MB / 0.908 GB, free: 15.81 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.251e-06/1.156, allocations: 6.688 kB / 0.908 GB, free: 15.8 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008267/1.164, allocations: 3.279 MB / 0.9112 GB, free: 12.46 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001744/1.166, allocations: 0.6105 MB / 0.9118 GB, free: 11.82 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001001/1.167, allocations: 24 kB / 0.9118 GB, free: 11.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002435/1.17, allocations: 152 kB / 0.912 GB, free: 11.65 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000239/1.17, allocations: 75.5 kB / 0.912 GB, free: 11.58 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001463/1.17, allocations: 51.33 kB / 0.9121 GB, free: 11.54 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.008918/1.179, allocations: 6.835 MB / 0.9188 GB, free: 4.699 MB / 0.67 GB Notification: Performance of sort global known variables: time 6.61e-07/1.179, allocations: 0 / 0.9188 GB, free: 4.699 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003156/1.182, allocations: 0.7376 MB / 0.9195 GB, free: 3.961 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.00996/1.192, allocations: 4.23 MB / 0.9236 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.005722/1.198, allocations: 2.681 MB / 0.9262 GB, free: 13 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/1.198, allocations: 0 / 0.9262 GB, free: 13 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002764/1.201, allocations: 1.433 MB / 0.9276 GB, free: 11.53 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005899/1.207, allocations: 1.026 MB / 0.9286 GB, free: 10.54 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08594/1.293, allocations: 45.86 MB / 0.9734 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001478/1.294, allocations: 1.686 MB / 0.9751 GB, free: 9.125 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001756/1.296, allocations: 429 kB / 0.9755 GB, free: 8.707 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00127/1.297, allocations: 0.9562 MB / 0.9764 GB, free: 7.754 MB / 0.7325 GB Notification: Performance of SimCode: time 8.12e-07/1.297, allocations: 4 kB / 0.9764 GB, free: 7.75 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.891/5.189, allocations: 80.11 MB / 1.055 GB, free: 357.4 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002056/5.189, allocations: 288.6 kB / 1.055 GB, free: 357 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.246/9.435, allocations: 0 / 1.055 GB, free: 357 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)