Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.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.SaturationPressure,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressure",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.001487/0.001487, allocations: 95.48 kB / 15.68 MB, free: 488 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.001924/0.001925, allocations: 177.4 kB / 16.57 MB, free: 6.391 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.504/2.504, allocations: 223.2 MB / 240.5 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.145/1.145, allocations: 113.7 MB / 405.3 MB, free: 4.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0007195/0.0007203, allocations: 8 kB / 493 MB, free: 8.629 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.28/0.2808, allocations: 77.11 MB / 0.5567 GB, free: 11.72 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.001458/0.2823, allocations: 1.114 MB / 0.5578 GB, free: 10.6 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007608/0.2831, allocations: 0.5309 MB / 0.5583 GB, free: 10.07 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.925e-05/0.2831, allocations: 0 / 0.5583 GB, free: 10.07 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.388e-05/0.2831, allocations: 0 / 0.5583 GB, free: 10.07 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.286e-05/0.2832, allocations: 4 kB / 0.5583 GB, free: 10.06 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002762/0.2835, allocations: 87.73 kB / 0.5584 GB, free: 9.977 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.064e-05/0.2835, allocations: 15.98 kB / 0.5584 GB, free: 9.961 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.229e-05/0.2836, allocations: 7.969 kB / 0.5584 GB, free: 9.953 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.819e-05/0.2837, allocations: 7.938 kB / 0.5584 GB, free: 9.945 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.307e-05/0.2837, allocations: 11.98 kB / 0.5585 GB, free: 9.934 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.959e-06/0.2837, allocations: 3.938 kB / 0.5585 GB, free: 9.93 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002537/0.284, allocations: 151.8 kB / 0.5586 GB, free: 9.781 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.747e-06/0.284, allocations: 12 kB / 0.5586 GB, free: 9.77 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.12e-05/0.284, allocations: 25.7 kB / 0.5586 GB, free: 9.738 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.2842, allocations: 72.12 kB / 0.5587 GB, free: 9.668 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.2842, allocations: 0 / 0.5587 GB, free: 9.668 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.986e-06/0.2842, allocations: 0 / 0.5587 GB, free: 9.668 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.2842, allocations: 3.938 kB / 0.5587 GB, free: 9.664 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.0003879/0.2846, allocations: 359.3 kB / 0.5591 GB, free: 9.266 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.2846, allocations: 8.031 kB / 0.5591 GB, free: 9.258 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.056e-05/0.2847, allocations: 34.56 kB / 0.5591 GB, free: 9.215 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003892/0.2851, allocations: 31.86 kB / 0.5591 GB, free: 9.184 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.2852, allocations: 159.1 kB / 0.5593 GB, free: 8.988 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.2852, allocations: 4 kB / 0.5593 GB, free: 8.984 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.2852, allocations: 3.953 kB / 0.5593 GB, free: 8.98 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002289/0.2855, allocations: 73.64 kB / 0.5594 GB, free: 8.902 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.991e-06/0.2855, allocations: 0 / 0.5594 GB, free: 8.902 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.759e-06/0.2855, allocations: 0 / 0.5594 GB, free: 8.902 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.2855, allocations: 4 kB / 0.5594 GB, free: 8.898 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002512/0.2858, allocations: 67.88 kB / 0.5594 GB, free: 8.832 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004111/0.2862, allocations: 280.8 kB / 0.5597 GB, free: 8.508 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.2864, allocations: 62.53 kB / 0.5597 GB, free: 8.438 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.2864, allocations: 0 / 0.5597 GB, free: 8.438 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.2864, allocations: 34.62 kB / 0.5598 GB, free: 8.395 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.2865, allocations: 0 / 0.5598 GB, free: 8.395 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004817/0.2869, allocations: 129.5 kB / 0.5599 GB, free: 8.262 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/0.287, allocations: 63.45 kB / 0.56 GB, free: 8.188 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.108e-05/0.287, allocations: 97.86 kB / 0.5601 GB, free: 8.082 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.2871, allocations: 25.7 kB / 0.5601 GB, free: 8.051 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.022e-05/0.2871, allocations: 84.05 kB / 0.5602 GB, free: 7.965 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.819e-05/0.2871, allocations: 8 kB / 0.5602 GB, free: 7.957 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.871e-06/0.2872, allocations: 0 / 0.5602 GB, free: 7.957 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.2873, allocations: 314.8 kB / 0.5605 GB, free: 7.641 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.2874, allocations: 35.97 kB / 0.5605 GB, free: 7.605 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.2875, allocations: 27.97 kB / 0.5605 GB, free: 7.578 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001237/0.2876, allocations: 36 kB / 0.5606 GB, free: 7.543 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.2876, allocations: 0 / 0.5606 GB, free: 7.543 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002874/0.2879, allocations: 109.5 kB / 0.5607 GB, free: 7.43 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.288, allocations: 4 kB / 0.5607 GB, free: 7.426 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.288, allocations: 0 / 0.5607 GB, free: 7.426 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.287e-06/0.288, allocations: 0 / 0.5607 GB, free: 7.426 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.2881, allocations: 19.98 kB / 0.5607 GB, free: 7.406 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.2881, allocations: 3.938 kB / 0.5607 GB, free: 7.402 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.748e-05/0.2882, allocations: 12.17 kB / 0.5607 GB, free: 7.391 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.2882, allocations: 4.031 kB / 0.5607 GB, free: 7.387 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 7.452e-05/0.2883, allocations: 113.8 kB / 0.5608 GB, free: 7.266 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.464e-05/0.2883, allocations: 7.984 kB / 0.5608 GB, free: 7.258 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.769e-05/0.2884, allocations: 3.125 kB / 0.5608 GB, free: 7.25 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.2884, allocations: 0 / 0.5608 GB, free: 7.25 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.2884, allocations: 0 / 0.5608 GB, free: 7.25 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.2884, allocations: 0 / 0.5608 GB, free: 7.25 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001635/0.2886, allocations: 173.6 kB / 0.561 GB, free: 7.031 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.2886, allocations: 4 kB / 0.561 GB, free: 7.027 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.2887, allocations: 19.97 kB / 0.561 GB, free: 7.008 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.2887, allocations: 0 / 0.561 GB, free: 7.008 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.2887, allocations: 0 / 0.561 GB, free: 7.008 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2887, allocations: 0 / 0.561 GB, free: 7.008 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2887, allocations: 0 / 0.561 GB, free: 7.008 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003256/0.2891, allocations: 199.4 kB / 0.5612 GB, free: 6.797 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.818e-05/0.2891, allocations: 84.97 kB / 0.5613 GB, free: 6.695 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.2891, allocations: 4 kB / 0.5613 GB, free: 6.691 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.2893, allocations: 16.02 kB / 0.5613 GB, free: 6.676 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.132e-05/0.2893, allocations: 4 kB / 0.5613 GB, free: 6.672 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/0.2893, allocations: 0 / 0.5613 GB, free: 6.672 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.119e-05/0.2894, allocations: 87.27 kB / 0.5614 GB, free: 6.586 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2894, allocations: 0 / 0.5614 GB, free: 6.586 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002329/0.2896, allocations: 12 kB / 0.5614 GB, free: 6.574 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 (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 Backend phase and start with SimCode phase: time 0.0006277/0.2902, allocations: 0.7442 MB / 0.5621 GB, free: 5.801 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002801/0.2905, allocations: 63.94 kB / 0.5622 GB, free: 5.738 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2905, allocations: 0 / 0.5622 GB, free: 5.738 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00013/0.2907, allocations: 40.02 kB / 0.5622 GB, free: 5.699 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001837/0.2909, allocations: 9.312 kB / 0.5622 GB, free: 5.691 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005209/0.2914, allocations: 186.1 kB / 0.5624 GB, free: 5.469 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002067/0.2916, allocations: 0.677 MB / 0.5631 GB, free: 4.766 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.545e-05/0.2917, allocations: 11.98 kB / 0.5631 GB, free: 4.754 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.208e-05/0.2918, allocations: 15.42 kB / 0.5631 GB, free: 4.738 MB / 430.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2918, allocations: 0 / 0.5631 GB, free: 4.738 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1016/0.3934, allocations: 1.373 MB / 0.5645 GB, free: 3.52 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000301/0.3938, allocations: 189.5 kB / 0.5646 GB, free: 3.281 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.083/3.477, allocations: 3.938 kB / 0.5646 GB, free: 3.277 MB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) Environment - environmentSimulation: