Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_8_Buildings_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.001131/0.001131, allocations: 105.4 kB / 15.7 MB, free: 24 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.001495/0.001495, allocations: 196.3 kB / 16.64 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.455/1.455, allocations: 205.1 MB / 222.5 MB, free: 4.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.707/1.707, allocations: 292.3 MB / 0.549 GB, free: 12.74 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 68.17 kB / 0.6718 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.2209, allocations: 114.6 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002476/0.2234, allocations: 1.406 MB / 0.785 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004411/0.2239, allocations: 208.2 kB / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.879e-05/0.2239, allocations: 0 / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.725e-05/0.224, allocations: 0 / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.236e-05/0.224, allocations: 11.92 kB / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002047/0.2242, allocations: 23.91 kB / 0.7852 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.274e-05/0.2243, allocations: 15.94 kB / 0.7853 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.728e-05/0.2244, allocations: 15.97 kB / 0.7853 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.011e-05/0.2245, allocations: 7.938 kB / 0.7853 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.803e-05/0.2245, allocations: 11.98 kB / 0.7853 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.2245, allocations: 8 kB / 0.7853 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.93e-05/0.2246, allocations: 31.92 kB / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.538e-06/0.2246, allocations: 0 / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.11e-05/0.2246, allocations: 11.92 kB / 0.7853 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.2248, allocations: 48.05 kB / 0.7854 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2248, allocations: 0 / 0.7854 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2248, allocations: 0 / 0.7854 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.2248, allocations: 0 / 0.7854 GB, free: 11.44 MB / 0.6075 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.0003874/0.2252, allocations: 339.5 kB / 0.7857 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.2252, allocations: 12.03 kB / 0.7857 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.808e-05/0.2252, allocations: 30.75 kB / 0.7858 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.826e-05/0.2254, allocations: 4.938 kB / 0.7858 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.2255, allocations: 168.3 kB / 0.7859 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.2255, allocations: 4.375 kB / 0.7859 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.538e-06/0.2255, allocations: 384 / 0.7859 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.2256, allocations: 50.23 kB / 0.786 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.435e-06/0.2257, allocations: 3.938 kB / 0.786 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.694e-06/0.2257, allocations: 0 / 0.786 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.2257, allocations: 4 kB / 0.786 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001506/0.2258, allocations: 35.91 kB / 0.786 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003202/0.2262, allocations: 248.9 kB / 0.7862 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.2263, allocations: 42.44 kB / 0.7863 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.324e-05/0.2264, allocations: 24.91 kB / 0.7863 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/0.2264, allocations: 4 kB / 0.7863 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.2264, allocations: 34.55 kB / 0.7863 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 2.595e-06/0.2264, allocations: 0 / 0.7863 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003132/0.2268, allocations: 81.59 kB / 0.7864 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.88e-05/0.2268, allocations: 59.52 kB / 0.7865 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.046e-05/0.2269, allocations: 97.86 kB / 0.7866 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.2269, allocations: 25.7 kB / 0.7866 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.435e-05/0.2269, allocations: 80.14 kB / 0.7867 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-05/0.2269, allocations: 7.906 kB / 0.7867 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.631e-05/0.227, allocations: 17.7 kB / 0.7867 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.2271, allocations: 310.8 kB / 0.787 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.784e-05/0.2272, allocations: 19.98 kB / 0.787 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.558e-05/0.2273, allocations: 15.98 kB / 0.787 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/0.2274, allocations: 44.75 kB / 0.7871 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.2274, allocations: 3.938 kB / 0.7871 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001845/0.2276, allocations: 65.72 kB / 0.7871 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.2276, allocations: 8.031 kB / 0.7871 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.2276, allocations: 0 / 0.7871 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.2277, allocations: 192 / 0.7871 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.753e-05/0.2277, allocations: 11.94 kB / 0.7872 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.2278, allocations: 3.984 kB / 0.7872 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.574e-05/0.2278, allocations: 4 kB / 0.7872 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.2278, allocations: 0 / 0.7872 GB, free: 9.375 MB / 0.6075 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.514e-05/0.2279, allocations: 113.8 kB / 0.7873 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.668e-05/0.2279, allocations: 11.98 kB / 0.7873 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002487/0.2282, allocations: 84.61 kB / 0.7874 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.2282, allocations: 0 / 0.7874 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.2282, allocations: 4 kB / 0.7874 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.2282, allocations: 0 / 0.7874 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001618/0.2284, allocations: 161.6 kB / 0.7875 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2284, allocations: 0 / 0.7875 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.817e-05/0.2285, allocations: 15.98 kB / 0.7875 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2285, allocations: 0 / 0.7875 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.2285, allocations: 0 / 0.7875 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2285, allocations: 7.938 kB / 0.7875 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2285, allocations: 0 / 0.7875 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002304/0.2287, allocations: 167.4 kB / 0.7877 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.111e-05/0.2288, allocations: 77.11 kB / 0.7878 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.2288, allocations: 8 kB / 0.7878 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.893e-05/0.2289, allocations: 11.98 kB / 0.7878 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.228e-05/0.2289, allocations: 0 / 0.7878 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-06/0.2289, allocations: 0 / 0.7878 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.863e-05/0.229, allocations: 83.27 kB / 0.7879 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.229, allocations: 0 / 0.7879 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002262/0.2292, allocations: 4 kB / 0.7879 GB, free: 8.539 MB / 0.6075 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.0005487/0.2298, allocations: 0.7045 MB / 0.7886 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002075/0.23, allocations: 43.89 kB / 0.7886 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.23, allocations: 0 / 0.7886 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.278e-05/0.2301, allocations: 24.05 kB / 0.7886 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003782/0.2305, allocations: 6.375 kB / 0.7886 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005314/0.231, allocations: 159.4 kB / 0.7888 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/0.2313, allocations: 0.6806 MB / 0.7895 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.255e-05/0.2314, allocations: 4 kB / 0.7895 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.166e-05/0.2314, allocations: 11.44 kB / 0.7895 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of SimCode: time 4.31e-07/0.2314, allocations: 0 / 0.7895 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01568/0.2471, allocations: 1.355 MB / 0.7908 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.903/7.15, allocations: 18.41 kB / 0.7908 GB, free: 5.578 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)