Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/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.SaturationPressureLiquid,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="IDEAS_IDEAS_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.001158/0.001158, allocations: 108 kB / 15.6 MB, free: 132 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.001223/0.001223, allocations: 191 kB / 16.53 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 1.409/1.409, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7469/0.7469, allocations: 132.2 MB / 422.6 MB, free: 1.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001335, allocations: 60.92 kB / 0.5019 GB, free: 3.793 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5319/0.5333, allocations: 80.21 MB / 0.5802 GB, free: 4.422 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.003517/0.5369, allocations: 1.401 MB / 0.5816 GB, free: 3.449 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005423/0.5374, allocations: 208.1 kB / 0.5818 GB, free: 3.312 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.964e-05/0.5375, allocations: 0 / 0.5818 GB, free: 3.312 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.22e-05/0.5375, allocations: 2.188 kB / 0.5818 GB, free: 3.312 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.052e-05/0.5376, allocations: 4.734 kB / 0.5818 GB, free: 3.309 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002673/0.5379, allocations: 27.94 kB / 0.5818 GB, free: 3.293 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.919e-05/0.538, allocations: 24.05 kB / 0.5818 GB, free: 3.281 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.5381, allocations: 3.938 kB / 0.5818 GB, free: 3.281 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.649e-05/0.5382, allocations: 9.594 kB / 0.5818 GB, free: 3.277 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.892e-05/0.5382, allocations: 14.19 kB / 0.5818 GB, free: 3.27 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.5382, allocations: 2.438 kB / 0.5818 GB, free: 3.27 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001221/0.5384, allocations: 29.09 kB / 0.5819 GB, free: 3.262 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.53e-05/0.5384, allocations: 9.984 kB / 0.5819 GB, free: 3.254 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.279e-05/0.5384, allocations: 12.16 kB / 0.5819 GB, free: 3.246 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001387/0.5386, allocations: 35.17 kB / 0.5819 GB, free: 3.234 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.5386, allocations: 0 / 0.5819 GB, free: 3.234 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.5386, allocations: 0 / 0.5819 GB, free: 3.234 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.152e-05/0.5386, allocations: 1.562 kB / 0.5819 GB, free: 3.234 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.0004179/0.539, allocations: 342.5 kB / 0.5822 GB, free: 2.871 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.5391, allocations: 9.219 kB / 0.5823 GB, free: 2.871 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.742e-05/0.5391, allocations: 36.27 kB / 0.5823 GB, free: 2.828 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001333/0.5393, allocations: 4.234 kB / 0.5823 GB, free: 2.828 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.463e-05/0.5394, allocations: 171.2 kB / 0.5825 GB, free: 2.625 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.5394, allocations: 1.375 kB / 0.5825 GB, free: 2.625 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.5394, allocations: 1.281 kB / 0.5825 GB, free: 2.625 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001903/0.5396, allocations: 54.39 kB / 0.5825 GB, free: 2.586 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.5396, allocations: 8.688 kB / 0.5825 GB, free: 2.578 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.5396, allocations: 0 / 0.5825 GB, free: 2.578 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.5396, allocations: 0.7812 kB / 0.5825 GB, free: 2.578 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001645/0.5398, allocations: 36.52 kB / 0.5826 GB, free: 2.57 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002953/0.5401, allocations: 247.9 kB / 0.5828 GB, free: 2.297 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.5402, allocations: 41.34 kB / 0.5828 GB, free: 2.266 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.835e-05/0.5403, allocations: 22.19 kB / 0.5829 GB, free: 2.254 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.5404, allocations: 4.766 kB / 0.5829 GB, free: 2.25 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.5404, allocations: 36.38 kB / 0.5829 GB, free: 2.207 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.803e-06/0.5404, allocations: 0 / 0.5829 GB, free: 2.207 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003535/0.5408, allocations: 80.2 kB / 0.583 GB, free: 2.168 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.73e-05/0.5408, allocations: 60.53 kB / 0.583 GB, free: 2.098 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.204e-05/0.5409, allocations: 97.56 kB / 0.5831 GB, free: 2 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.337e-06/0.5409, allocations: 29.83 kB / 0.5832 GB, free: 1.965 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.286e-05/0.5409, allocations: 85.92 kB / 0.5832 GB, free: 1.879 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.05e-05/0.5409, allocations: 5.953 kB / 0.5832 GB, free: 1.875 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.958e-05/0.541, allocations: 12.55 kB / 0.5832 GB, free: 1.859 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.359e-05/0.541, allocations: 320.3 kB / 0.5836 GB, free: 1.539 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.498e-05/0.5411, allocations: 14.41 kB / 0.5836 GB, free: 1.539 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.737e-05/0.5412, allocations: 19.28 kB / 0.5836 GB, free: 1.535 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000158/0.5414, allocations: 44.89 kB / 0.5836 GB, free: 1.516 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.5414, allocations: 3.938 kB / 0.5836 GB, free: 1.512 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001989/0.5416, allocations: 63.06 kB / 0.5837 GB, free: 1.477 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.5416, allocations: 5.422 kB / 0.5837 GB, free: 1.477 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.5416, allocations: 1.25 kB / 0.5837 GB, free: 1.477 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.5416, allocations: 0 / 0.5837 GB, free: 1.477 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.518e-05/0.5417, allocations: 13.7 kB / 0.5837 GB, free: 1.473 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.5418, allocations: 0 / 0.5837 GB, free: 1.473 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.753e-05/0.5418, allocations: 10.8 kB / 0.5837 GB, free: 1.469 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.5418, allocations: 0.7188 kB / 0.5837 GB, free: 1.469 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.366e-05/0.5419, allocations: 112.5 kB / 0.5838 GB, free: 1.352 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.582e-05/0.5419, allocations: 8.75 kB / 0.5838 GB, free: 1.344 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002721/0.5422, allocations: 83.66 kB / 0.5839 GB, free: 1.293 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.5422, allocations: 0.8438 kB / 0.5839 GB, free: 1.293 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.5422, allocations: 0 / 0.5839 GB, free: 1.293 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.5423, allocations: 1.953 kB / 0.5839 GB, free: 1.293 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001374/0.5424, allocations: 160 kB / 0.5841 GB, free: 1.098 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.5424, allocations: 0 / 0.5841 GB, free: 1.098 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.049e-05/0.5425, allocations: 10.59 kB / 0.5841 GB, free: 1.098 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.5425, allocations: 1.156 kB / 0.5841 GB, free: 1.098 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.5425, allocations: 0.5625 kB / 0.5841 GB, free: 1.098 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.5425, allocations: 5.406 kB / 0.5841 GB, free: 1.094 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.5425, allocations: 0.6094 kB / 0.5841 GB, free: 1.094 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000258/0.5428, allocations: 170.1 kB / 0.5843 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.891e-05/0.5428, allocations: 78.19 kB / 0.5843 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.5428, allocations: 1.922 kB / 0.5843 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.23e-05/0.5429, allocations: 10.36 kB / 0.5843 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.764e-05/0.543, allocations: 6.719 kB / 0.5843 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.543, allocations: 5.328 kB / 0.5844 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.126e-05/0.543, allocations: 83.59 kB / 0.5844 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.543, allocations: 0 / 0.5844 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000219/0.5433, allocations: 4.812 kB / 0.5844 GB, free: 0.7656 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 (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.0004571/0.5437, allocations: 0.7051 MB / 0.5851 GB, free: 92 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002301/0.544, allocations: 49.28 kB / 0.5852 GB, free: 76 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.544, allocations: 0 / 0.5852 GB, free: 76 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.786e-05/0.5441, allocations: 18.33 kB / 0.5852 GB, free: 76 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/0.5444, allocations: 7.312 kB / 0.5852 GB, free: 72 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004807/0.5449, allocations: 148.9 kB / 0.5853 GB, free: 15.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/0.5452, allocations: 0.6761 MB / 0.586 GB, free: 15.22 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.2e-05/0.5452, allocations: 1.984 kB / 0.586 GB, free: 15.22 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.464e-05/0.5453, allocations: 14.45 kB / 0.586 GB, free: 15.21 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.5453, allocations: 4 kB / 0.586 GB, free: 15.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02023/0.5655, allocations: 1.321 MB / 0.5873 GB, free: 14.88 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.598/8.163, allocations: 5.938 kB / 0.5873 GB, free: 14.88 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)