Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="BuildSysPro_BuildSysPro_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.006314/0.006319, allocations: 101.3 kB / 15.73 MB, free: 6.043 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.001249/0.001249, allocations: 184.9 kB / 16.67 MB, free: 5.977 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.4 MB, free: 4.328 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9899/0.9899, allocations: 143 MB / 433.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 63.91 kB / 0.595 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4188/0.42, allocations: 82.04 MB / 0.6752 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002151/0.4222, allocations: 1.392 MB / 0.6765 GB, free: 16 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001054/0.4232, allocations: 0.5978 MB / 0.6771 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.464e-05/0.4233, allocations: 0 / 0.6771 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.085e-05/0.4233, allocations: 7.922 kB / 0.6771 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.951e-05/0.4234, allocations: 1.094 kB / 0.6771 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004182/0.4238, allocations: 100.5 kB / 0.6772 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.358e-05/0.4239, allocations: 21.91 kB / 0.6772 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 8.872e-05/0.424, allocations: 11.16 kB / 0.6772 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.029e-05/0.424, allocations: 15.59 kB / 0.6772 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.525e-05/0.4241, allocations: 11.95 kB / 0.6773 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.4241, allocations: 2.375 kB / 0.6773 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002955/0.4244, allocations: 139.9 kB / 0.6774 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.373e-05/0.4244, allocations: 7.922 kB / 0.6774 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.446e-05/0.4244, allocations: 7 kB / 0.6774 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002284/0.4247, allocations: 108.9 kB / 0.6775 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.4247, allocations: 1.062 kB / 0.6775 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.072e-06/0.4247, allocations: 0 / 0.6775 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.067e-06/0.4247, allocations: 0 / 0.6775 GB, free: 15.29 MB / 0.5137 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.0004712/0.4252, allocations: 362.3 kB / 0.6779 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.4252, allocations: 10.25 kB / 0.6779 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.856e-05/0.4253, allocations: 34.69 kB / 0.6779 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004108/0.4257, allocations: 29.42 kB / 0.6779 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.4258, allocations: 165.5 kB / 0.6781 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/0.4258, allocations: 1.625 kB / 0.6781 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.4259, allocations: 5.594 kB / 0.6781 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002255/0.4261, allocations: 66.05 kB / 0.6782 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.4261, allocations: 5.156 kB / 0.6782 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.4261, allocations: 0 / 0.6782 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.4262, allocations: 1.062 kB / 0.6782 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002485/0.4264, allocations: 59.12 kB / 0.6782 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004258/0.4268, allocations: 275.3 kB / 0.6785 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002035/0.4271, allocations: 61 kB / 0.6785 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001256/0.4272, allocations: 35.55 kB / 0.6786 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.4272, allocations: 0 / 0.6786 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.4272, allocations: 32.38 kB / 0.6786 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.4273, allocations: 3.938 kB / 0.6786 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0005352/0.4278, allocations: 113.9 kB / 0.6787 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.457e-05/0.4278, allocations: 56.59 kB / 0.6788 GB, free: 14 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.647e-05/0.4279, allocations: 102.3 kB / 0.6789 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.4279, allocations: 26.7 kB / 0.6789 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.659e-05/0.428, allocations: 85.14 kB / 0.679 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.961e-05/0.428, allocations: 5 kB / 0.679 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.928e-05/0.428, allocations: 24.77 kB / 0.679 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.468e-05/0.4281, allocations: 311.8 kB / 0.6793 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001215/0.4283, allocations: 26.03 kB / 0.6793 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.4284, allocations: 29.41 kB / 0.6794 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002346/0.4286, allocations: 68.52 kB / 0.6794 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.4286, allocations: 3.938 kB / 0.6794 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002748/0.4289, allocations: 81.52 kB / 0.6795 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.429, allocations: 9.656 kB / 0.6795 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.636e-06/0.429, allocations: 0 / 0.6795 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.429, allocations: 1.062 kB / 0.6795 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.4291, allocations: 15.97 kB / 0.6795 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.4291, allocations: 0 / 0.6795 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.339e-05/0.4292, allocations: 9.625 kB / 0.6795 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.4292, allocations: 5.016 kB / 0.6795 GB, free: 13.28 MB / 0.5137 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 7.481e-05/0.4293, allocations: 120.2 kB / 0.6797 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.675e-05/0.4293, allocations: 1.156 kB / 0.6797 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.426e-05/0.4294, allocations: 4.25 kB / 0.6797 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.4294, allocations: 0 / 0.6797 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.4294, allocations: 1.125 kB / 0.6797 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.4294, allocations: 3.938 kB / 0.6797 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001527/0.4296, allocations: 171.5 kB / 0.6798 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.4296, allocations: 3.984 kB / 0.6798 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001188/0.4297, allocations: 16.14 kB / 0.6798 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.4297, allocations: 1.219 kB / 0.6798 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.4297, allocations: 0 / 0.6798 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.4297, allocations: 1.125 kB / 0.6799 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.4297, allocations: 0 / 0.6799 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003184/0.4301, allocations: 192.9 kB / 0.68 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.867e-05/0.4301, allocations: 82.83 kB / 0.6801 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.4301, allocations: 0 / 0.6801 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.4302, allocations: 13.72 kB / 0.6801 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.438e-05/0.4303, allocations: 1.25 kB / 0.6801 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.4303, allocations: 4.953 kB / 0.6801 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.384e-05/0.4303, allocations: 78.44 kB / 0.6802 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4303, allocations: 0 / 0.6802 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002441/0.4306, allocations: 22.56 kB / 0.6802 GB, free: 12.56 MB / 0.5137 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 (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.0006186/0.4312, allocations: 0.7301 MB / 0.6809 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002725/0.4315, allocations: 58.69 kB / 0.681 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.4315, allocations: 0 / 0.681 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001306/0.4317, allocations: 36.47 kB / 0.681 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002934/0.432, allocations: 1.875 kB / 0.681 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005654/0.4325, allocations: 167 kB / 0.6812 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002479/0.4328, allocations: 0.6768 MB / 0.6819 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 6.388e-05/0.4329, allocations: 11 kB / 0.6819 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.506e-05/0.4329, allocations: 14.44 kB / 0.6819 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of SimCode: time 2.6e-07/0.4329, allocations: 3.938 kB / 0.6819 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01863/0.4516, allocations: 1.679 MB / 0.6835 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.499/7.95, allocations: 19.75 kB / 0.6835 GB, free: 10.02 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)