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.00159/0.001591, allocations: 101.7 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.001779/0.001779, allocations: 190.5 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.506/1.506, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7932/0.7932, allocations: 122.9 MB / 413.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 63.89 kB / 0.4912 GB, free: 7.34 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4399/0.4414, allocations: 77.91 MB / 0.5673 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002442/0.4439, allocations: 1.397 MB / 0.5686 GB, free: 31.74 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004301/0.4444, allocations: 200.2 kB / 0.5688 GB, free: 31.61 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.537e-05/0.4444, allocations: 0 / 0.5688 GB, free: 31.61 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.957e-05/0.4444, allocations: 6.094 kB / 0.5688 GB, free: 31.61 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.054e-05/0.4445, allocations: 3.938 kB / 0.5688 GB, free: 31.6 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002109/0.4447, allocations: 28.25 kB / 0.5689 GB, free: 31.59 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.748e-05/0.4448, allocations: 23.53 kB / 0.5689 GB, free: 31.58 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.269e-05/0.4449, allocations: 7.469 kB / 0.5689 GB, free: 31.57 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.828e-05/0.4449, allocations: 5.188 kB / 0.5689 GB, free: 31.57 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.599e-05/0.445, allocations: 14 kB / 0.5689 GB, free: 31.57 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.257e-05/0.445, allocations: 3.188 kB / 0.5689 GB, free: 31.57 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.161e-05/0.4451, allocations: 32.73 kB / 0.569 GB, free: 31.55 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.171e-05/0.4451, allocations: 6.188 kB / 0.569 GB, free: 31.55 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.286e-05/0.4451, allocations: 11.7 kB / 0.569 GB, free: 31.54 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00011/0.4452, allocations: 37.12 kB / 0.569 GB, free: 31.53 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.4453, allocations: 0 / 0.569 GB, free: 31.53 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.4453, allocations: 2.906 kB / 0.569 GB, free: 31.53 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.4453, allocations: 0 / 0.569 GB, free: 31.53 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003426/0.4456, allocations: 343 kB / 0.5693 GB, free: 31.17 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.4457, allocations: 10.62 kB / 0.5693 GB, free: 31.17 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.415e-05/0.4457, allocations: 32.66 kB / 0.5694 GB, free: 31.13 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.98e-05/0.4458, allocations: 4.953 kB / 0.5694 GB, free: 31.13 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.648e-05/0.4459, allocations: 166.8 kB / 0.5695 GB, free: 30.93 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.4459, allocations: 2.562 kB / 0.5695 GB, free: 30.93 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.383e-06/0.4459, allocations: 1.562 kB / 0.5695 GB, free: 30.93 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.4461, allocations: 55.31 kB / 0.5696 GB, free: 30.89 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.4461, allocations: 3.938 kB / 0.5696 GB, free: 30.89 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.665e-06/0.4461, allocations: 0 / 0.5696 GB, free: 30.89 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.4461, allocations: 2.031 kB / 0.5696 GB, free: 30.89 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001693/0.4463, allocations: 33.89 kB / 0.5696 GB, free: 30.88 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002758/0.4466, allocations: 253.4 kB / 0.5699 GB, free: 30.61 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.4467, allocations: 36.67 kB / 0.5699 GB, free: 30.58 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.681e-05/0.4468, allocations: 24.77 kB / 0.5699 GB, free: 30.57 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.4468, allocations: 2.156 kB / 0.5699 GB, free: 30.57 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/0.4468, allocations: 31.16 kB / 0.57 GB, free: 30.53 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.873e-06/0.4468, allocations: 2.281 kB / 0.57 GB, free: 30.53 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003256/0.4472, allocations: 90.25 kB / 0.5701 GB, free: 30.48 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.03e-05/0.4472, allocations: 51.41 kB / 0.5701 GB, free: 30.42 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.832e-05/0.4472, allocations: 102.6 kB / 0.5702 GB, free: 30.32 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.393e-06/0.4473, allocations: 25.7 kB / 0.5702 GB, free: 30.29 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.166e-05/0.4473, allocations: 82.17 kB / 0.5703 GB, free: 30.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.805e-05/0.4473, allocations: 11.62 kB / 0.5703 GB, free: 30.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.7e-05/0.4473, allocations: 20.75 kB / 0.5703 GB, free: 30.17 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.008e-05/0.4474, allocations: 313.5 kB / 0.5706 GB, free: 29.86 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.214e-05/0.4475, allocations: 18.81 kB / 0.5707 GB, free: 29.86 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.025e-05/0.4476, allocations: 14.44 kB / 0.5707 GB, free: 29.86 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001453/0.4477, allocations: 40.19 kB / 0.5707 GB, free: 29.84 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4477, allocations: 3.938 kB / 0.5707 GB, free: 29.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001796/0.4479, allocations: 68.91 kB / 0.5708 GB, free: 29.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.4479, allocations: 5.125 kB / 0.5708 GB, free: 29.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.4479, allocations: 1.375 kB / 0.5708 GB, free: 29.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.4479, allocations: 0.9375 kB / 0.5708 GB, free: 29.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.875e-05/0.448, allocations: 9.766 kB / 0.5708 GB, free: 29.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.448, allocations: 10.36 kB / 0.5708 GB, free: 29.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.325e-05/0.4481, allocations: 14.06 kB / 0.5708 GB, free: 29.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.4481, allocations: 1.094 kB / 0.5708 GB, free: 29.79 MB / 446.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.228e-05/0.4482, allocations: 112.4 kB / 0.5709 GB, free: 29.67 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.362e-05/0.4482, allocations: 6.344 kB / 0.5709 GB, free: 29.66 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002259/0.4484, allocations: 80.7 kB / 0.571 GB, free: 29.62 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.4484, allocations: 1.406 kB / 0.571 GB, free: 29.62 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.4484, allocations: 1.875 kB / 0.571 GB, free: 29.62 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.4484, allocations: 0 / 0.571 GB, free: 29.62 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001078/0.4486, allocations: 160.5 kB / 0.5712 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.4486, allocations: 1.781 kB / 0.5712 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.594e-05/0.4486, allocations: 11.52 kB / 0.5712 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.4486, allocations: 1.031 kB / 0.5712 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.211e-06/0.4487, allocations: 0 / 0.5712 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.4487, allocations: 1.609 kB / 0.5712 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.4487, allocations: 0.5938 kB / 0.5712 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002146/0.4489, allocations: 173.6 kB / 0.5713 GB, free: 29.28 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.639e-05/0.4489, allocations: 78.67 kB / 0.5714 GB, free: 29.19 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.4489, allocations: 6.891 kB / 0.5714 GB, free: 29.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.744e-05/0.449, allocations: 5.422 kB / 0.5714 GB, free: 29.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.278e-05/0.449, allocations: 7.797 kB / 0.5714 GB, free: 29.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.4491, allocations: 1.594 kB / 0.5714 GB, free: 29.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.926e-05/0.4491, allocations: 83.17 kB / 0.5715 GB, free: 29.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4491, allocations: 2.562 kB / 0.5715 GB, free: 29.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002084/0.4493, allocations: 7.688 kB / 0.5715 GB, free: 29.1 MB / 446.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 (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.000331/0.4496, allocations: 0.7001 MB / 0.5722 GB, free: 28.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001968/0.4498, allocations: 43.75 kB / 0.5723 GB, free: 28.42 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4499, allocations: 0 / 0.5723 GB, free: 28.42 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.466e-05/0.4499, allocations: 23.75 kB / 0.5723 GB, free: 28.41 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/0.4502, allocations: 5.75 kB / 0.5723 GB, free: 28.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004028/0.4506, allocations: 149.6 kB / 0.5724 GB, free: 28.26 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001089/0.4508, allocations: 0.6773 MB / 0.5731 GB, free: 27.56 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.138e-05/0.4508, allocations: 3.469 kB / 0.5731 GB, free: 27.56 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.66e-05/0.4508, allocations: 10.23 kB / 0.5731 GB, free: 27.56 MB / 446.1 MB Notification: Performance of SimCode: time 3.7e-07/0.4508, allocations: 0 / 0.5731 GB, free: 27.56 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0164/0.4673, allocations: 1.332 MB / 0.5744 GB, free: 27.25 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.639/8.106, allocations: 1.156 kB / 0.5744 GB, free: 27.25 MB / 446.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/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)