Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="IBPSA_latest_IBPSA_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.001537/0.001537, allocations: 97.2 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002725/0.002725, allocations: 173.6 kB / 16.57 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.712/2.712, allocations: 223.2 MB / 240.5 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.154/1.154, allocations: 113.7 MB / 405.3 MB, free: 4.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003851/0.0003851, allocations: 13.19 kB / 493 MB, free: 8.613 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2641/0.2646, allocations: 77.11 MB / 0.5567 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002555/0.2672, allocations: 1.118 MB / 0.5578 GB, free: 10.59 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006334/0.2679, allocations: 183.6 kB / 0.558 GB, free: 10.41 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.583e-05/0.2679, allocations: 0 / 0.558 GB, free: 10.41 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.404e-05/0.268, allocations: 3.938 kB / 0.558 GB, free: 10.4 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.15e-05/0.268, allocations: 4 kB / 0.558 GB, free: 10.4 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000253/0.2683, allocations: 19.97 kB / 0.558 GB, free: 10.38 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.2684, allocations: 15.97 kB / 0.558 GB, free: 10.36 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001711/0.2686, allocations: 7.984 kB / 0.558 GB, free: 10.36 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.058e-05/0.2687, allocations: 7.984 kB / 0.558 GB, free: 10.35 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.498e-05/0.2688, allocations: 15.94 kB / 0.5581 GB, free: 10.33 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.079e-05/0.2688, allocations: 0 / 0.5581 GB, free: 10.33 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001451/0.269, allocations: 27.91 kB / 0.5581 GB, free: 10.3 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.803e-05/0.269, allocations: 4 kB / 0.5581 GB, free: 10.3 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.453e-05/0.2691, allocations: 29.7 kB / 0.5581 GB, free: 10.27 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001474/0.2692, allocations: 20.19 kB / 0.5581 GB, free: 10.25 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.297e-06/0.2693, allocations: 4 kB / 0.5581 GB, free: 10.24 MB / 430.1 MB Notification: Performance of FrontEnd: time 5.841e-06/0.2693, allocations: 0 / 0.5581 GB, free: 10.24 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.181e-05/0.2693, allocations: 0 / 0.5581 GB, free: 10.24 MB / 430.1 MB 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.0008227/0.2701, allocations: 343.3 kB / 0.5585 GB, free: 9.859 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.505e-05/0.2702, allocations: 11.97 kB / 0.5585 GB, free: 9.848 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.646e-05/0.2704, allocations: 30.56 kB / 0.5585 GB, free: 9.809 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000228/0.2706, allocations: 7.906 kB / 0.5585 GB, free: 9.801 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002444/0.2708, allocations: 167 kB / 0.5587 GB, free: 9.598 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.919e-05/0.2709, allocations: 11.98 kB / 0.5587 GB, free: 9.586 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.678e-05/0.2709, allocations: 3.953 kB / 0.5587 GB, free: 9.582 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002927/0.2712, allocations: 57.67 kB / 0.5587 GB, free: 9.52 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.2712, allocations: 0 / 0.5587 GB, free: 9.52 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.2713, allocations: 0 / 0.5587 GB, free: 9.52 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/0.2713, allocations: 0 / 0.5587 GB, free: 9.52 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002582/0.2715, allocations: 43.91 kB / 0.5588 GB, free: 9.477 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006347/0.2722, allocations: 252.9 kB / 0.559 GB, free: 9.18 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002054/0.2724, allocations: 42.56 kB / 0.5591 GB, free: 9.129 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.309e-05/0.2725, allocations: 3.984 kB / 0.5591 GB, free: 9.125 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.09e-05/0.2725, allocations: 34.56 kB / 0.5591 GB, free: 9.082 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.2725, allocations: 0 / 0.5591 GB, free: 9.082 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0005589/0.2731, allocations: 105.7 kB / 0.5592 GB, free: 8.973 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.368e-05/0.2732, allocations: 51.41 kB / 0.5593 GB, free: 8.91 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.2733, allocations: 97.84 kB / 0.5593 GB, free: 8.805 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.2733, allocations: 25.7 kB / 0.5594 GB, free: 8.773 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.946e-05/0.2734, allocations: 84.14 kB / 0.5595 GB, free: 8.688 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.505e-05/0.2734, allocations: 11.84 kB / 0.5595 GB, free: 8.676 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-06/0.2735, allocations: 0 / 0.5595 GB, free: 8.676 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001884/0.2736, allocations: 310.8 kB / 0.5598 GB, free: 8.363 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001243/0.2738, allocations: 28 kB / 0.5598 GB, free: 8.336 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/0.2739, allocations: 19.98 kB / 0.5598 GB, free: 8.316 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/0.274, allocations: 24.05 kB / 0.5598 GB, free: 8.293 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2741, allocations: 4 kB / 0.5598 GB, free: 8.289 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002913/0.2744, allocations: 85.45 kB / 0.5599 GB, free: 8.199 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/0.2744, allocations: 6.188 kB / 0.5599 GB, free: 8.195 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.2744, allocations: 0 / 0.5599 GB, free: 8.195 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/0.2744, allocations: 4 kB / 0.5599 GB, free: 8.191 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.2746, allocations: 16.02 kB / 0.5599 GB, free: 8.176 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.2746, allocations: 0 / 0.5599 GB, free: 8.176 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.729e-05/0.2747, allocations: 8 kB / 0.5599 GB, free: 8.168 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.2747, allocations: 0 / 0.5599 GB, free: 8.168 MB / 430.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000117/0.2748, allocations: 117.8 kB / 0.5601 GB, free: 8.043 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.81e-05/0.2749, allocations: 3.953 kB / 0.5601 GB, free: 8.039 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003589/0.2752, allocations: 84.78 kB / 0.5601 GB, free: 7.945 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.2753, allocations: 3.938 kB / 0.5601 GB, free: 7.941 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.2753, allocations: 0 / 0.5601 GB, free: 7.941 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.2753, allocations: 7.984 kB / 0.5602 GB, free: 7.934 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002289/0.2755, allocations: 161.6 kB / 0.5603 GB, free: 7.727 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2756, allocations: 0 / 0.5603 GB, free: 7.727 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.232e-05/0.2757, allocations: 11.98 kB / 0.5603 GB, free: 7.715 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.085e-06/0.2757, allocations: 7.953 kB / 0.5603 GB, free: 7.707 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.2757, allocations: 0 / 0.5603 GB, free: 7.707 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2757, allocations: 0 / 0.5603 GB, free: 7.707 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2757, allocations: 0 / 0.5603 GB, free: 7.707 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003657/0.2761, allocations: 175.5 kB / 0.5605 GB, free: 7.52 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.769e-05/0.2762, allocations: 81.02 kB / 0.5606 GB, free: 7.422 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.22e-05/0.2762, allocations: 7.938 kB / 0.5606 GB, free: 7.414 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.2763, allocations: 8 kB / 0.5606 GB, free: 7.406 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.729e-05/0.2764, allocations: 11.98 kB / 0.5606 GB, free: 7.395 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-06/0.2764, allocations: 0 / 0.5606 GB, free: 7.395 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.368e-05/0.2765, allocations: 83.22 kB / 0.5607 GB, free: 7.312 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.116e-06/0.2765, allocations: 0 / 0.5607 GB, free: 7.312 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003579/0.2768, allocations: 7.938 kB / 0.5607 GB, free: 7.305 MB / 430.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008192/0.2777, allocations: 0.7058 MB / 0.5614 GB, free: 6.57 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003393/0.278, allocations: 51.95 kB / 0.5614 GB, free: 6.52 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.278, allocations: 0 / 0.5614 GB, free: 6.52 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001483/0.2782, allocations: 31.95 kB / 0.5615 GB, free: 6.488 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003324/0.2785, allocations: 10.58 kB / 0.5615 GB, free: 6.48 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006996/0.2793, allocations: 162.4 kB / 0.5616 GB, free: 6.277 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004836/0.2798, allocations: 0.6848 MB / 0.5623 GB, free: 5.566 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.564e-05/0.2798, allocations: 0 / 0.5623 GB, free: 5.566 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.607e-05/0.2799, allocations: 11.44 kB / 0.5623 GB, free: 5.555 MB / 430.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2799, allocations: 0 / 0.5623 GB, free: 5.555 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1703/0.4502, allocations: 1.074 MB / 0.5633 GB, free: 4.637 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003982/0.4507, allocations: 196.2 kB / 0.5635 GB, free: 4.398 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.277/3.728, allocations: 0 / 0.5635 GB, free: 4.398 MB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) Environment - environmentSimulation: