Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="IDEAS_IDEAS_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.001027/0.001027, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.001207/0.001207, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 223.3 MB / 240 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7593/0.7593, allocations: 132.3 MB / 423.4 MB, free: 2.074 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000368/0.0003684, allocations: 12 kB / 0.5035 GB, free: 4.156 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5262/0.5266, allocations: 81.58 MB / 0.5832 GB, free: 3.988 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.001675/0.5284, allocations: 1.124 MB / 0.5843 GB, free: 3.168 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009898/0.5294, allocations: 0.5592 MB / 0.5848 GB, free: 2.789 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.418e-05/0.5294, allocations: 1.812 kB / 0.5848 GB, free: 2.789 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.686e-05/0.5294, allocations: 1.25 kB / 0.5848 GB, free: 2.789 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.674e-05/0.5295, allocations: 7.219 kB / 0.5848 GB, free: 2.785 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000361/0.5299, allocations: 83.67 kB / 0.5849 GB, free: 2.746 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.75e-05/0.53, allocations: 18.69 kB / 0.5849 GB, free: 2.738 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.301e-05/0.5301, allocations: 8.141 kB / 0.5849 GB, free: 2.734 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.737e-05/0.5301, allocations: 12.92 kB / 0.5849 GB, free: 2.727 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.527e-05/0.5302, allocations: 10.84 kB / 0.5849 GB, free: 2.723 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.949e-06/0.5302, allocations: 5.375 kB / 0.5849 GB, free: 2.719 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003887/0.5306, allocations: 144.6 kB / 0.5851 GB, free: 2.684 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.46e-05/0.5306, allocations: 6.188 kB / 0.5851 GB, free: 2.68 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.208e-05/0.5307, allocations: 31.17 kB / 0.5851 GB, free: 2.645 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002222/0.5309, allocations: 67.61 kB / 0.5852 GB, free: 2.633 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.337e-06/0.5309, allocations: 0.9062 kB / 0.5852 GB, free: 2.633 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.915e-06/0.5309, allocations: 0 / 0.5852 GB, free: 2.633 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.5309, allocations: 0 / 0.5852 GB, free: 2.633 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.0005609/0.5315, allocations: 367.1 kB / 0.5855 GB, free: 2.258 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.3e-05/0.5316, allocations: 9.25 kB / 0.5855 GB, free: 2.258 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.876e-05/0.5316, allocations: 31.17 kB / 0.5856 GB, free: 2.219 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004829/0.5321, allocations: 29.84 kB / 0.5856 GB, free: 2.215 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.5322, allocations: 166.5 kB / 0.5858 GB, free: 2.016 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.5323, allocations: 5.828 kB / 0.5858 GB, free: 2.012 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.96e-05/0.5323, allocations: 4.875 kB / 0.5858 GB, free: 2.008 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002994/0.5326, allocations: 70.12 kB / 0.5858 GB, free: 1.969 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.5326, allocations: 0.8125 kB / 0.5858 GB, free: 1.969 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.5326, allocations: 0.7031 kB / 0.5858 GB, free: 1.969 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.5326, allocations: 0.875 kB / 0.5858 GB, free: 1.969 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00029/0.5329, allocations: 68.91 kB / 0.5859 GB, free: 1.953 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004271/0.5334, allocations: 279.3 kB / 0.5862 GB, free: 1.664 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002209/0.5336, allocations: 60.28 kB / 0.5862 GB, free: 1.633 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001395/0.5338, allocations: 47.11 kB / 0.5863 GB, free: 1.609 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.5338, allocations: 1.469 kB / 0.5863 GB, free: 1.609 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.778e-05/0.5338, allocations: 36.08 kB / 0.5863 GB, free: 1.566 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.163e-06/0.5338, allocations: 0 / 0.5863 GB, free: 1.566 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0005169/0.5343, allocations: 126.7 kB / 0.5864 GB, free: 1.52 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.903e-05/0.5344, allocations: 56.53 kB / 0.5865 GB, free: 1.453 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.889e-05/0.5345, allocations: 105.4 kB / 0.5866 GB, free: 1.348 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.838e-06/0.5345, allocations: 25.7 kB / 0.5866 GB, free: 1.316 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.532e-05/0.5345, allocations: 81.75 kB / 0.5867 GB, free: 1.234 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.821e-05/0.5345, allocations: 9.656 kB / 0.5867 GB, free: 1.227 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.67e-06/0.5345, allocations: 0 / 0.5867 GB, free: 1.227 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.503e-05/0.5346, allocations: 312.9 kB / 0.587 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001302/0.5347, allocations: 34.38 kB / 0.587 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.5348, allocations: 30.88 kB / 0.5871 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/0.535, allocations: 33.98 kB / 0.5871 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.535, allocations: 0 / 0.5871 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002841/0.5353, allocations: 96.75 kB / 0.5872 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.5353, allocations: 10.89 kB / 0.5872 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.5353, allocations: 3.953 kB / 0.5872 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.5353, allocations: 0 / 0.5872 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/0.5355, allocations: 20.61 kB / 0.5872 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.5355, allocations: 0.75 kB / 0.5872 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.848e-05/0.5356, allocations: 10.62 kB / 0.5872 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.5356, allocations: 2.188 kB / 0.5872 GB, free: 0.8398 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 5.556e-05/0.5357, allocations: 112.5 kB / 0.5873 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.429e-05/0.5357, allocations: 0.8125 kB / 0.5873 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.978e-05/0.5357, allocations: 10 kB / 0.5873 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.5357, allocations: 4.141 kB / 0.5873 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.5358, allocations: 4.781 kB / 0.5874 GB, free: 0.707 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.5358, allocations: 4.641 kB / 0.5874 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.5359, allocations: 159.9 kB / 0.5875 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.5359, allocations: 4.688 kB / 0.5875 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/0.536, allocations: 15.97 kB / 0.5875 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.536, allocations: 0.6562 kB / 0.5875 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.5361, allocations: 5.969 kB / 0.5875 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.5361, allocations: 9.172 kB / 0.5875 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.5361, allocations: 0.7031 kB / 0.5875 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003084/0.5364, allocations: 201.1 kB / 0.5877 GB, free: 352 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.884e-05/0.5364, allocations: 81.8 kB / 0.5878 GB, free: 252 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.5364, allocations: 2.672 kB / 0.5878 GB, free: 252 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/0.5366, allocations: 14.59 kB / 0.5878 GB, free: 248 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.888e-05/0.5366, allocations: 5.453 kB / 0.5878 GB, free: 244 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.5366, allocations: 2.75 kB / 0.5878 GB, free: 244 kB / 430.1 MB Notification: Performance of sorting global known variables: time 2.314e-05/0.5367, allocations: 82.95 kB / 0.5879 GB, free: 164 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5367, allocations: 1.375 kB / 0.5879 GB, free: 164 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002553/0.5369, allocations: 15.06 kB / 0.5879 GB, free: 160 kB / 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.0007871/0.5377, allocations: 0.7307 MB / 0.5886 GB, free: 15.48 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003369/0.5381, allocations: 69.72 kB / 0.5887 GB, free: 15.47 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.5381, allocations: 64 / 0.5887 GB, free: 15.47 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001404/0.5382, allocations: 37.31 kB / 0.5887 GB, free: 15.46 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003007/0.5385, allocations: 10.28 kB / 0.5888 GB, free: 15.46 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006538/0.5392, allocations: 175.5 kB / 0.5889 GB, free: 15.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003067/0.5395, allocations: 0.6755 MB / 0.5896 GB, free: 14.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.487e-05/0.5396, allocations: 11.69 kB / 0.5896 GB, free: 14.59 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.086e-05/0.5397, allocations: 15.52 kB / 0.5896 GB, free: 14.58 MB / 446.1 MB Notification: Performance of SimCode: time 2.91e-07/0.5397, allocations: 0 / 0.5896 GB, free: 14.58 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.013/0.5527, allocations: 1.386 MB / 0.591 GB, free: 14.45 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001841/0.5529, allocations: 187.5 kB / 0.5911 GB, free: 14.21 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.717/2.27, allocations: 4.812 kB / 0.5911 GB, free: 14.21 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) Environment - environmentSimulation: