Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.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.BaseClasses.Validation.DryFluid,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid",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.001357/0.001357, allocations: 105.7 kB / 16.27 MB, free: 5.934 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.001203/0.001203, allocations: 189.5 kB / 17.2 MB, free: 5.578 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.496/1.496, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8499/0.8499, allocations: 126.7 MB / 417.8 MB, free: 12.34 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 67.89 kB / 0.4959 GB, free: 2.695 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.3506, allocations: 78.86 MB / 0.5729 GB, free: 30.98 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.003242/0.3539, allocations: 2.044 MB / 0.5749 GB, free: 29.54 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002053/0.356, allocations: 1.365 MB / 0.5762 GB, free: 28.61 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.3561, allocations: 1.375 kB / 0.5762 GB, free: 28.61 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006464/0.3567, allocations: 248.5 kB / 0.5764 GB, free: 28.53 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000916/0.3577, allocations: 437.6 kB / 0.5769 GB, free: 28.33 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.914e-06/0.3577, allocations: 0.7188 kB / 0.5769 GB, free: 28.33 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003306/0.358, allocations: 391.8 kB / 0.5772 GB, free: 28.16 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.6e-05/0.3581, allocations: 22.77 kB / 0.5773 GB, free: 28.15 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.3582, allocations: 146.1 kB / 0.5774 GB, free: 28.08 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001928/0.3584, allocations: 192.3 kB / 0.5776 GB, free: 27.96 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.967e-05/0.3585, allocations: 21.47 kB / 0.5776 GB, free: 27.96 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004533/0.3589, allocations: 268.7 kB / 0.5779 GB, free: 27.83 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002601/0.3592, allocations: 375.6 kB / 0.5782 GB, free: 27.62 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003291/0.3595, allocations: 414 kB / 0.5786 GB, free: 27.34 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008169/0.3604, allocations: 1.142 MB / 0.5797 GB, free: 26.58 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3604, allocations: 1.5 kB / 0.5797 GB, free: 26.58 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3604, allocations: 0.5625 kB / 0.5797 GB, free: 26.58 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.345e-05/0.3604, allocations: 0.5312 kB / 0.5797 GB, free: 26.58 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.001241/0.3616, allocations: 1.227 MB / 0.5809 GB, free: 25.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.3617, allocations: 10.19 kB / 0.5809 GB, free: 25.59 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.346e-05/0.3617, allocations: 51.58 kB / 0.581 GB, free: 25.53 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006107/0.3624, allocations: 153.4 kB / 0.5811 GB, free: 25.45 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003386/0.3658, allocations: 4.269 MB / 0.5853 GB, free: 23.36 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.3658, allocations: 11.47 kB / 0.5853 GB, free: 23.36 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.409e-05/0.3658, allocations: 23.44 kB / 0.5853 GB, free: 23.35 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000733/0.3666, allocations: 0.6308 MB / 0.5859 GB, free: 23.09 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.3666, allocations: 0 / 0.5859 GB, free: 23.09 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.374e-05/0.3666, allocations: 9.438 kB / 0.586 GB, free: 23.08 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.3666, allocations: 3.875 kB / 0.586 GB, free: 23.08 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001162/0.3678, allocations: 1.112 MB / 0.587 GB, free: 22.69 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002833/0.3706, allocations: 3.155 MB / 0.5901 GB, free: 19.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006735/0.3713, allocations: 346.5 kB / 0.5905 GB, free: 19.59 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002858/0.3716, allocations: 224.8 kB / 0.5907 GB, free: 19.36 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.444e-05/0.3717, allocations: 24.73 kB / 0.5907 GB, free: 19.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/0.3717, allocations: 39.41 kB / 0.5907 GB, free: 19.29 MB / 446.1 MB Notification: Performance of pre-optimization done (n=19): time 2.485e-06/0.3717, allocations: 3.938 kB / 0.5907 GB, free: 19.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=19): time 0.001055/0.3728, allocations: 0.7165 MB / 0.5914 GB, free: 18.57 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.3728, allocations: 51.41 kB / 0.5915 GB, free: 18.51 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005021/0.3779, allocations: 6.505 MB / 0.5978 GB, free: 11.98 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.472e-05/0.3779, allocations: 29.7 kB / 0.5979 GB, free: 11.95 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002433/0.3782, allocations: 413 kB / 0.5983 GB, free: 11.54 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.775e-05/0.3782, allocations: 67.81 kB / 0.5983 GB, free: 11.47 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.64e-05/0.3783, allocations: 57.69 kB / 0.5984 GB, free: 11.41 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.558e-05/0.3784, allocations: 320 kB / 0.5987 GB, free: 11.09 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004646/0.3789, allocations: 0.5271 MB / 0.5992 GB, free: 10.57 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000438/0.3793, allocations: 0.5497 MB / 0.5997 GB, free: 10.01 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006991/0.38, allocations: 0.7703 MB / 0.6005 GB, free: 9.238 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.666e-06/0.38, allocations: 3.938 kB / 0.6005 GB, free: 9.234 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001226/0.3813, allocations: 1.235 MB / 0.6017 GB, free: 7.996 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.3813, allocations: 4 kB / 0.6017 GB, free: 7.992 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.3813, allocations: 0 / 0.6017 GB, free: 7.992 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.771e-05/0.3814, allocations: 4 kB / 0.6017 GB, free: 7.988 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003391/0.3817, allocations: 59.95 kB / 0.6018 GB, free: 7.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.375e-05/0.3817, allocations: 3.938 kB / 0.6018 GB, free: 7.926 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006309/0.3824, allocations: 45.73 kB / 0.6018 GB, free: 7.883 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.686e-05/0.3824, allocations: 15.98 kB / 0.6018 GB, free: 7.867 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003741/0.3828, allocations: 278.3 kB / 0.6021 GB, free: 7.586 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001576/0.3829, allocations: 90.88 kB / 0.6022 GB, free: 7.496 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008011/0.3838, allocations: 0.5673 MB / 0.6027 GB, free: 6.926 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.3838, allocations: 0.8125 kB / 0.6027 GB, free: 6.926 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.3838, allocations: 4 kB / 0.6027 GB, free: 6.922 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.748e-06/0.3838, allocations: 1.094 kB / 0.6027 GB, free: 6.922 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002491/0.3863, allocations: 2.807 MB / 0.6055 GB, free: 4.008 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.3863, allocations: 4.5 kB / 0.6055 GB, free: 4.004 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002481/0.3866, allocations: 60.52 kB / 0.6055 GB, free: 3.945 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.3866, allocations: 4.719 kB / 0.6055 GB, free: 3.941 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.043e-05/0.3866, allocations: 8 kB / 0.6056 GB, free: 3.934 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.543e-06/0.3866, allocations: 9.422 kB / 0.6056 GB, free: 3.926 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.688e-06/0.3866, allocations: 7.938 kB / 0.6056 GB, free: 3.918 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007839/0.3874, allocations: 0.6792 MB / 0.6062 GB, free: 3.176 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002611/0.3877, allocations: 256.4 kB / 0.6065 GB, free: 2.906 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/0.3878, allocations: 5.531 kB / 0.6065 GB, free: 2.902 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003634/0.3882, allocations: 31.92 kB / 0.6065 GB, free: 2.871 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.956e-05/0.3882, allocations: 33.75 kB / 0.6065 GB, free: 2.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/0.3883, allocations: 12.98 kB / 0.6066 GB, free: 2.828 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0042/0.3925, allocations: 5.153 MB / 0.6116 GB, free: 13.66 MB / 462.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.3925, allocations: 2.594 kB / 0.6116 GB, free: 13.66 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008191/0.3933, allocations: 188 kB / 0.6118 GB, free: 13.48 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001691/0.395, allocations: 1.292 MB / 0.613 GB, free: 12.11 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001157/0.3962, allocations: 0.7745 MB / 0.6138 GB, free: 11.33 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.3962, allocations: 0 / 0.6138 GB, free: 11.33 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003723/0.3966, allocations: 228.7 kB / 0.614 GB, free: 11.11 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/0.3977, allocations: 197.4 kB / 0.6142 GB, free: 10.92 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02492/0.4226, allocations: 23.34 MB / 0.637 GB, free: 3.242 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000691/0.4233, allocations: 1.011 MB / 0.638 GB, free: 2.203 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004131/0.4237, allocations: 145.4 kB / 0.6381 GB, free: 2.059 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004045/0.4242, allocations: 295.3 kB / 0.6384 GB, free: 1.77 MB / 478.1 MB Notification: Performance of SimCode: time 7.42e-07/0.4242, allocations: 0 / 0.6384 GB, free: 1.77 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07671/0.5009, allocations: 23.34 MB / 0.6612 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.229/8.729, allocations: 11.94 kB / 0.6612 GB, free: 10.7 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid.fmu > IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe 2>&1)