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.001331/0.001331, allocations: 105.3 kB / 16.27 MB, free: 6.414 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.001287/0.001287, allocations: 184.5 kB / 17.19 MB, free: 5.953 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.37/1.37, 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.7501/0.7501, allocations: 122.9 MB / 413.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 63.91 kB / 0.4912 GB, free: 7.332 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4859/0.4872, allocations: 77.92 MB / 0.5673 GB, free: 32.72 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.003824/0.4911, allocations: 1.397 MB / 0.5686 GB, free: 31.76 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001462/0.4926, allocations: 0.5854 MB / 0.5692 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.81e-05/0.4927, allocations: 2.094 kB / 0.5692 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.355e-05/0.4927, allocations: 3.938 kB / 0.5692 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.381e-05/0.4928, allocations: 8.516 kB / 0.5692 GB, free: 31.35 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006118/0.4935, allocations: 99.3 kB / 0.5693 GB, free: 31.3 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001016/0.4936, allocations: 20.75 kB / 0.5693 GB, free: 31.3 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.4937, allocations: 8.828 kB / 0.5694 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.535e-05/0.4938, allocations: 10.02 kB / 0.5694 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.008e-05/0.4939, allocations: 15.55 kB / 0.5694 GB, free: 31.28 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.4939, allocations: 2.688 kB / 0.5694 GB, free: 31.28 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000421/0.4943, allocations: 142.2 kB / 0.5695 GB, free: 31.25 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.919e-05/0.4944, allocations: 2.094 kB / 0.5695 GB, free: 31.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.949e-05/0.4944, allocations: 20.84 kB / 0.5695 GB, free: 31.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003572/0.4948, allocations: 102.3 kB / 0.5696 GB, free: 31.2 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.056e-05/0.4948, allocations: 1.125 kB / 0.5696 GB, free: 31.2 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.667e-06/0.4948, allocations: 0 / 0.5696 GB, free: 31.2 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.055e-05/0.4948, allocations: 2.188 kB / 0.5696 GB, free: 31.2 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.0007385/0.4956, allocations: 360.4 kB / 0.57 GB, free: 30.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.403e-05/0.4957, allocations: 10.38 kB / 0.57 GB, free: 30.82 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.266e-05/0.4958, allocations: 32.92 kB / 0.57 GB, free: 30.79 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004813/0.4962, allocations: 31.64 kB / 0.5701 GB, free: 30.78 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.4964, allocations: 167.3 kB / 0.5702 GB, free: 30.58 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.4964, allocations: 2.469 kB / 0.5702 GB, free: 30.58 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.4964, allocations: 1.406 kB / 0.5702 GB, free: 30.58 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00026/0.4967, allocations: 74.61 kB / 0.5703 GB, free: 30.54 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.4967, allocations: 7.875 kB / 0.5703 GB, free: 30.53 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.4967, allocations: 0 / 0.5703 GB, free: 30.53 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.4967, allocations: 1.438 kB / 0.5703 GB, free: 30.53 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002752/0.497, allocations: 52.5 kB / 0.5703 GB, free: 30.52 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00049/0.4975, allocations: 273.8 kB / 0.5706 GB, free: 30.24 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002461/0.4978, allocations: 61 kB / 0.5707 GB, free: 30.21 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001437/0.4979, allocations: 32.36 kB / 0.5707 GB, free: 30.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.4979, allocations: 5.094 kB / 0.5707 GB, free: 30.19 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.498, allocations: 32.39 kB / 0.5707 GB, free: 30.15 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 3.136e-06/0.498, allocations: 2.281 kB / 0.5707 GB, free: 30.15 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.000551/0.4985, allocations: 109.4 kB / 0.5708 GB, free: 30.11 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.4986, allocations: 53.19 kB / 0.5709 GB, free: 30.05 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.187e-05/0.4987, allocations: 101.4 kB / 0.571 GB, free: 29.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.4987, allocations: 26.89 kB / 0.571 GB, free: 29.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.531e-05/0.4987, allocations: 85.69 kB / 0.5711 GB, free: 29.83 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.323e-05/0.4987, allocations: 5.562 kB / 0.5711 GB, free: 29.82 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.848e-05/0.4988, allocations: 16.44 kB / 0.5711 GB, free: 29.81 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.414e-05/0.4989, allocations: 314.5 kB / 0.5714 GB, free: 29.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/0.499, allocations: 29.28 kB / 0.5714 GB, free: 29.49 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.4991, allocations: 31.92 kB / 0.5715 GB, free: 29.48 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002598/0.4994, allocations: 56.59 kB / 0.5715 GB, free: 29.46 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.4994, allocations: 3.938 kB / 0.5715 GB, free: 29.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003185/0.4997, allocations: 86.09 kB / 0.5716 GB, free: 29.42 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.4998, allocations: 4.938 kB / 0.5716 GB, free: 29.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.4998, allocations: 3.547 kB / 0.5716 GB, free: 29.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.4998, allocations: 0 / 0.5716 GB, free: 29.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001391/0.4999, allocations: 12.69 kB / 0.5716 GB, free: 29.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.5, allocations: 3.5 kB / 0.5716 GB, free: 29.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.162e-05/0.5001, allocations: 7.953 kB / 0.5716 GB, free: 29.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.5001, allocations: 7.031 kB / 0.5717 GB, free: 29.42 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 6.771e-05/0.5002, allocations: 121.2 kB / 0.5718 GB, free: 29.29 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.736e-05/0.5002, allocations: 1.312 kB / 0.5718 GB, free: 29.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.199e-05/0.5002, allocations: 6.719 kB / 0.5718 GB, free: 29.29 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.5002, allocations: 1.906 kB / 0.5718 GB, free: 29.29 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.5003, allocations: 3.938 kB / 0.5718 GB, free: 29.29 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.686e-06/0.5003, allocations: 0.5312 kB / 0.5718 GB, free: 29.29 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.5004, allocations: 168.9 kB / 0.5719 GB, free: 29.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.5004, allocations: 1.844 kB / 0.5719 GB, free: 29.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.5006, allocations: 14.55 kB / 0.572 GB, free: 29.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.5006, allocations: 0 / 0.572 GB, free: 29.09 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.5006, allocations: 2.391 kB / 0.572 GB, free: 29.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.5006, allocations: 1.219 kB / 0.572 GB, free: 29.09 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.5006, allocations: 6.125 kB / 0.572 GB, free: 29.09 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003496/0.501, allocations: 188.6 kB / 0.5721 GB, free: 28.94 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.607e-05/0.501, allocations: 84.08 kB / 0.5722 GB, free: 28.84 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.016e-05/0.501, allocations: 1.219 kB / 0.5722 GB, free: 28.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.5011, allocations: 9.547 kB / 0.5722 GB, free: 28.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.316e-05/0.5012, allocations: 10.27 kB / 0.5722 GB, free: 28.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.5012, allocations: 3.188 kB / 0.5722 GB, free: 28.83 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.526e-05/0.5012, allocations: 80.52 kB / 0.5723 GB, free: 28.76 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5013, allocations: 0 / 0.5723 GB, free: 28.76 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002596/0.5015, allocations: 19.75 kB / 0.5723 GB, free: 28.75 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 (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 Backend phase and start with SimCode phase: time 0.0005796/0.5021, allocations: 0.7277 MB / 0.5731 GB, free: 28.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003316/0.5024, allocations: 62.52 kB / 0.5731 GB, free: 28.06 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.5025, allocations: 0 / 0.5731 GB, free: 28.06 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001465/0.5026, allocations: 29.75 kB / 0.5731 GB, free: 28.06 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003418/0.503, allocations: 5.844 kB / 0.5731 GB, free: 28.06 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006465/0.5036, allocations: 171 kB / 0.5733 GB, free: 27.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001555/0.5038, allocations: 0.6754 MB / 0.574 GB, free: 27.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.89e-05/0.5039, allocations: 8.391 kB / 0.574 GB, free: 27.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.986e-05/0.5039, allocations: 16.88 kB / 0.574 GB, free: 27.2 MB / 446.1 MB Notification: Performance of SimCode: time 2.01e-07/0.5039, allocations: 0 / 0.574 GB, free: 27.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01947/0.5234, allocations: 1.637 MB / 0.5756 GB, free: 26.87 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.537/8.06, allocations: 6.422 kB / 0.5756 GB, free: 26.86 MB / 446.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/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)