Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="BuildingSystems_BuildingSystems_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.006482/0.006482, allocations: 95.23 kB / 15.73 MB, free: 6.047 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.001533/0.001533, allocations: 201.9 kB / 16.68 MB, free: 5.973 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.535/1.535, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002639/0.002639, allocations: 279 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.124/1.124, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.004007/0.004007, allocations: 95.91 kB / 0.681 GB, free: 15.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2049/0.2089, allocations: 86.97 MB / 0.7659 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002879/0.2119, allocations: 1.408 MB / 0.7673 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.000574/0.2125, allocations: 207.4 kB / 0.7675 GB, free: 7.324 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.276e-05/0.2125, allocations: 0 / 0.7675 GB, free: 7.324 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.413e-05/0.2126, allocations: 0 / 0.7675 GB, free: 7.324 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.838e-05/0.2127, allocations: 3.938 kB / 0.7675 GB, free: 7.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002635/0.2129, allocations: 31.83 kB / 0.7675 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.677e-05/0.213, allocations: 19.94 kB / 0.7675 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.2131, allocations: 7.984 kB / 0.7675 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.059e-05/0.2132, allocations: 15.94 kB / 0.7675 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.462e-05/0.2132, allocations: 7.984 kB / 0.7675 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.2133, allocations: 0 / 0.7675 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.2134, allocations: 23.98 kB / 0.7676 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.867e-05/0.2134, allocations: 11.92 kB / 0.7676 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.096e-05/0.2134, allocations: 11.98 kB / 0.7676 GB, free: 7.191 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000146/0.2136, allocations: 32.12 kB / 0.7676 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.2136, allocations: 4 kB / 0.7676 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.734e-06/0.2136, allocations: 0 / 0.7676 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.2136, allocations: 0 / 0.7676 GB, free: 7.156 MB / 0.5606 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.0005681/0.2142, allocations: 343.4 kB / 0.768 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.2142, allocations: 15.97 kB / 0.768 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.366e-05/0.2143, allocations: 30.75 kB / 0.768 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001301/0.2144, allocations: 4.938 kB / 0.768 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.2146, allocations: 172.3 kB / 0.7682 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.2146, allocations: 384 / 0.7682 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.637e-05/0.2146, allocations: 4.375 kB / 0.7682 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/0.2148, allocations: 50.17 kB / 0.7682 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.2148, allocations: 7.938 kB / 0.7682 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.2149, allocations: 4 kB / 0.7682 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.2149, allocations: 0 / 0.7682 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000168/0.215, allocations: 27.97 kB / 0.7683 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003835/0.2154, allocations: 256.8 kB / 0.7685 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.2156, allocations: 42.5 kB / 0.7685 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.89e-05/0.2157, allocations: 20.91 kB / 0.7686 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.2157, allocations: 7.969 kB / 0.7686 GB, free: 6.023 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.2157, allocations: 34.56 kB / 0.7686 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.2157, allocations: 4 kB / 0.7686 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.000351/0.2161, allocations: 81.67 kB / 0.7687 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.2161, allocations: 51.41 kB / 0.7687 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.242e-05/0.2162, allocations: 101.9 kB / 0.7688 GB, free: 5.719 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.2163, allocations: 25.7 kB / 0.7689 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.079e-05/0.2163, allocations: 80.14 kB / 0.7689 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.293e-05/0.2164, allocations: 11.94 kB / 0.7689 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.592e-05/0.2164, allocations: 13.72 kB / 0.769 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001848/0.2166, allocations: 310.8 kB / 0.7693 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.495e-05/0.2167, allocations: 20.02 kB / 0.7693 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.846e-05/0.2168, allocations: 15.98 kB / 0.7693 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001465/0.2169, allocations: 44.75 kB / 0.7693 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.666e-06/0.2169, allocations: 3.938 kB / 0.7693 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001943/0.2171, allocations: 77.61 kB / 0.7694 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.2171, allocations: 8 kB / 0.7694 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.2172, allocations: 0 / 0.7694 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.2172, allocations: 4 kB / 0.7694 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.832e-05/0.2173, allocations: 7.984 kB / 0.7694 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.239e-06/0.2173, allocations: 0 / 0.7694 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.183e-05/0.2173, allocations: 4 kB / 0.7694 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.2174, allocations: 4 kB / 0.7694 GB, free: 5.066 MB / 0.5606 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 8.929e-05/0.2175, allocations: 114.5 kB / 0.7695 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.583e-05/0.2175, allocations: 3.984 kB / 0.7695 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002541/0.2177, allocations: 80.89 kB / 0.7696 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.2178, allocations: 0 / 0.7696 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.929e-06/0.2178, allocations: 4 kB / 0.7696 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.2178, allocations: 3.938 kB / 0.7696 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002203/0.218, allocations: 165.6 kB / 0.7698 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.218, allocations: 4 kB / 0.7698 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.365e-05/0.2181, allocations: 11.98 kB / 0.7698 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.2181, allocations: 0 / 0.7698 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.2181, allocations: 0 / 0.7698 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.2181, allocations: 0 / 0.7698 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.2181, allocations: 0 / 0.7698 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002698/0.2184, allocations: 171.5 kB / 0.77 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.185e-05/0.2185, allocations: 85 kB / 0.77 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.2185, allocations: 0 / 0.77 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.2186, allocations: 7.984 kB / 0.7701 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.612e-05/0.2186, allocations: 4 kB / 0.7701 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.2186, allocations: 0 / 0.7701 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.369e-05/0.2187, allocations: 87.27 kB / 0.7701 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2187, allocations: 0 / 0.7701 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003039/0.219, allocations: 4 kB / 0.7701 GB, free: 4.238 MB / 0.5606 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 (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.0005737/0.2196, allocations: 0.6975 MB / 0.7708 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002109/0.2198, allocations: 43.89 kB / 0.7709 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2198, allocations: 4.062 kB / 0.7709 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.991e-05/0.2199, allocations: 23.98 kB / 0.7709 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003646/0.2203, allocations: 8.391 kB / 0.7709 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000505/0.2208, allocations: 156.2 kB / 0.7711 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003173/0.2211, allocations: 0.6806 MB / 0.7717 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.231e-05/0.2212, allocations: 4 kB / 0.7717 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.735e-05/0.2212, allocations: 7.438 kB / 0.7717 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of SimCode: time 2.5e-07/0.2212, allocations: 4 kB / 0.7717 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0252/0.2464, allocations: 1.385 MB / 0.7731 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.154/8.401, allocations: 12.25 kB / 0.7731 GB, free: 1.277 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)