Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",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.005772/0.005772, allocations: 102.8 kB / 15.73 MB, free: 5.992 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.001434/0.001434, allocations: 193.2 kB / 16.67 MB, free: 5.914 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.262/1.262, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002116/0.002117, allocations: 279.2 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9049/0.9049, allocations: 169.3 MB / 0.4983 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00179/0.00179, allocations: 99.84 kB / 0.681 GB, free: 7.457 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3921/0.3939, allocations: 86.96 MB / 0.7659 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002356/0.3963, allocations: 1.41 MB / 0.7673 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.000435/0.3967, allocations: 210.2 kB / 0.7675 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.151e-05/0.3968, allocations: 4 kB / 0.7675 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.799e-05/0.3968, allocations: 3.938 kB / 0.7675 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.964e-05/0.3969, allocations: 0 / 0.7675 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002395/0.3971, allocations: 19.91 kB / 0.7675 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.387e-05/0.3972, allocations: 35.84 kB / 0.7675 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.377e-05/0.3973, allocations: 4 kB / 0.7675 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.748e-05/0.3974, allocations: 8 kB / 0.7675 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.991e-05/0.3974, allocations: 15.92 kB / 0.7675 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.3974, allocations: 0 / 0.7675 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.749e-05/0.3975, allocations: 27.98 kB / 0.7676 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.207e-05/0.3975, allocations: 3.984 kB / 0.7676 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.69e-05/0.3976, allocations: 15.92 kB / 0.7676 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000117/0.3977, allocations: 31.91 kB / 0.7676 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.3977, allocations: 0 / 0.7676 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.864e-06/0.3977, allocations: 0 / 0.7676 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.461e-06/0.3977, allocations: 4 kB / 0.7676 GB, free: 2.035 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004322/0.3982, allocations: 339.4 kB / 0.7679 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.3982, allocations: 12.03 kB / 0.768 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.278e-05/0.3983, allocations: 38.75 kB / 0.768 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00011/0.3984, allocations: 4.938 kB / 0.768 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.3985, allocations: 164.4 kB / 0.7682 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.3985, allocations: 384 / 0.7682 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.348e-06/0.3985, allocations: 384 / 0.7682 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001698/0.3987, allocations: 54.17 kB / 0.7682 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.3987, allocations: 7.922 kB / 0.7682 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.3987, allocations: 0 / 0.7682 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.3987, allocations: 4 kB / 0.7682 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001485/0.3989, allocations: 35.95 kB / 0.7683 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003323/0.3992, allocations: 248.8 kB / 0.7685 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/0.3994, allocations: 42.5 kB / 0.7685 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.954e-05/0.3995, allocations: 32.83 kB / 0.7686 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.3995, allocations: 3.938 kB / 0.7686 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.3995, allocations: 30.56 kB / 0.7686 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.3995, allocations: 0 / 0.7686 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.000321/0.3998, allocations: 77.64 kB / 0.7687 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/0.3999, allocations: 55.53 kB / 0.7687 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.584e-05/0.4, allocations: 101.9 kB / 0.7688 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.4, allocations: 25.7 kB / 0.7688 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.232e-05/0.4, allocations: 88.12 kB / 0.7689 GB, free: 496 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.4001, allocations: 7.844 kB / 0.7689 GB, free: 488 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.104e-05/0.4001, allocations: 17.66 kB / 0.769 GB, free: 464 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.4002, allocations: 314.8 kB / 0.7693 GB, free: 140 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.63e-05/0.4003, allocations: 11.98 kB / 0.7693 GB, free: 128 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.78e-05/0.4004, allocations: 27.97 kB / 0.7693 GB, free: 100 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001291/0.4005, allocations: 32.83 kB / 0.7693 GB, free: 64 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.4005, allocations: 3.938 kB / 0.7693 GB, free: 60 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001833/0.4007, allocations: 65.66 kB / 0.7694 GB, free: 15.99 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.4007, allocations: 8.094 kB / 0.7694 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.4007, allocations: 4 kB / 0.7694 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.4007, allocations: 0 / 0.7694 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.887e-05/0.4008, allocations: 7.984 kB / 0.7694 GB, free: 15.97 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.4009, allocations: 3.938 kB / 0.7694 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.803e-05/0.4009, allocations: 4 kB / 0.7694 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.4009, allocations: 0 / 0.7694 GB, free: 15.96 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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 6.197e-05/0.401, allocations: 120.2 kB / 0.7695 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.439e-05/0.401, allocations: 4 kB / 0.7695 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002284/0.4012, allocations: 76.78 kB / 0.7696 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.4013, allocations: 0 / 0.7696 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.4013, allocations: 0 / 0.7696 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.4013, allocations: 3.984 kB / 0.7696 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001481/0.4014, allocations: 173.5 kB / 0.7698 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.4014, allocations: 0 / 0.7698 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.706e-05/0.4015, allocations: 11.98 kB / 0.7698 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.4015, allocations: 4 kB / 0.7698 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.4015, allocations: 0 / 0.7698 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.4015, allocations: 3.938 kB / 0.7698 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.4015, allocations: 0 / 0.7698 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002291/0.4018, allocations: 171.4 kB / 0.77 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.79e-05/0.4018, allocations: 77.11 kB / 0.77 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.4018, allocations: 3.984 kB / 0.77 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.479e-05/0.4019, allocations: 11.94 kB / 0.77 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.994e-05/0.402, allocations: 4.266 kB / 0.77 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.402, allocations: 4 kB / 0.7701 GB, free: 15.21 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.56e-05/0.402, allocations: 87.27 kB / 0.7701 GB, free: 15.12 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.41e-07/0.402, allocations: 0 / 0.7701 GB, free: 15.12 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002099/0.4022, allocations: 4 kB / 0.7701 GB, free: 15.12 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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.0004862/0.4027, allocations: 0.7024 MB / 0.7708 GB, free: 14.39 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002048/0.4029, allocations: 39.95 kB / 0.7709 GB, free: 14.35 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4029, allocations: 0 / 0.7709 GB, free: 14.35 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.279e-05/0.403, allocations: 24.03 kB / 0.7709 GB, free: 14.33 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002978/0.4033, allocations: 16.94 kB / 0.7709 GB, free: 14.32 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004357/0.4038, allocations: 152.2 kB / 0.771 GB, free: 14.12 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002501/0.404, allocations: 0.6768 MB / 0.7717 GB, free: 13.42 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.674e-05/0.4041, allocations: 0 / 0.7717 GB, free: 13.42 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.134e-05/0.4041, allocations: 15.44 kB / 0.7717 GB, free: 13.41 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.4041, allocations: 4 kB / 0.7717 GB, free: 13.4 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0166/0.4207, allocations: 1.373 MB / 0.7731 GB, free: 12.18 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.978/7.399, allocations: 7.188 kB / 0.7731 GB, free: 12.18 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)