Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-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(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_latest_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.0009147/0.0009148, allocations: 91.14 kB / 15.06 MB, free: 1.098 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.001136/0.001136, allocations: 172.7 kB / 15.95 MB, free: 208 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.513/1.513, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.66/2.66, allocations: 409.4 MB / 0.684 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006673/0.0006674, allocations: 12 kB / 0.8378 GB, free: 6.488 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8094/0.8101, allocations: 146.8 MB / 0.9811 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.001946/0.8121, allocations: 1.114 MB / 0.9822 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.000527/0.8126, allocations: 197.9 kB / 0.9824 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.327e-05/0.8127, allocations: 0 / 0.9824 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.515e-05/0.8127, allocations: 0 / 0.9824 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.172e-05/0.8128, allocations: 3.938 kB / 0.9824 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002164/0.813, allocations: 23.89 kB / 0.9824 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.797e-05/0.8131, allocations: 19.88 kB / 0.9825 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.49e-05/0.8132, allocations: 7.984 kB / 0.9825 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.615e-05/0.8132, allocations: 8 kB / 0.9825 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.711e-05/0.8133, allocations: 15.92 kB / 0.9825 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.8133, allocations: 0 / 0.9825 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.329e-05/0.8134, allocations: 23.98 kB / 0.9825 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.057e-06/0.8134, allocations: 4 kB / 0.9825 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.04e-05/0.8135, allocations: 29.7 kB / 0.9825 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001015/0.8136, allocations: 26.2 kB / 0.9826 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.8136, allocations: 0 / 0.9826 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.843e-06/0.8136, allocations: 0 / 0.9826 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.8136, allocations: 0 / 0.9826 GB, free: 4.754 MB / 0.7325 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.0005049/0.8141, allocations: 347.2 kB / 0.9829 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.8142, allocations: 12.03 kB / 0.9829 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.744e-05/0.8142, allocations: 30.56 kB / 0.9829 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001205/0.8144, allocations: 7.984 kB / 0.9829 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/0.8145, allocations: 163 kB / 0.9831 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.8145, allocations: 0 / 0.9831 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.596e-05/0.8145, allocations: 7.953 kB / 0.9831 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000196/0.8147, allocations: 61.67 kB / 0.9832 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.8148, allocations: 0 / 0.9832 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.8148, allocations: 0 / 0.9832 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.8148, allocations: 0 / 0.9832 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001615/0.815, allocations: 43.95 kB / 0.9832 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003727/0.8153, allocations: 256.8 kB / 0.9835 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001247/0.8155, allocations: 46.47 kB / 0.9835 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.673e-05/0.8156, allocations: 40.84 kB / 0.9835 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/0.8156, allocations: 0 / 0.9835 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.8156, allocations: 30.56 kB / 0.9836 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.8156, allocations: 0 / 0.9836 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003644/0.816, allocations: 105.6 kB / 0.9837 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.082e-05/0.8161, allocations: 55.34 kB / 0.9837 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.632e-05/0.8162, allocations: 101.8 kB / 0.9838 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.8162, allocations: 25.7 kB / 0.9838 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.805e-05/0.8162, allocations: 84.14 kB / 0.9839 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.53e-05/0.8162, allocations: 4.031 kB / 0.9839 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-06/0.8163, allocations: 4 kB / 0.9839 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001684/0.8164, allocations: 314.8 kB / 0.9842 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.892e-05/0.8165, allocations: 19.98 kB / 0.9842 GB, free: 2.805 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.191e-05/0.8166, allocations: 23.97 kB / 0.9843 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.693e-05/0.8167, allocations: 24.05 kB / 0.9843 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.8167, allocations: 3.953 kB / 0.9843 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001893/0.8169, allocations: 77.66 kB / 0.9844 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/0.8169, allocations: 4 kB / 0.9844 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.8169, allocations: 3.938 kB / 0.9844 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.817, allocations: 0 / 0.9844 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.785e-05/0.8171, allocations: 15.98 kB / 0.9844 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.8171, allocations: 0 / 0.9844 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.471e-05/0.8171, allocations: 11.94 kB / 0.9844 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.8171, allocations: 0 / 0.9844 GB, free: 2.637 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.631e-05/0.8172, allocations: 113.9 kB / 0.9845 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.325e-05/0.8173, allocations: 7.938 kB / 0.9845 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002524/0.8175, allocations: 84.78 kB / 0.9846 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.8175, allocations: 4 kB / 0.9846 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.8176, allocations: 0 / 0.9846 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.8176, allocations: 0 / 0.9846 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001702/0.8177, allocations: 161.6 kB / 0.9848 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.8177, allocations: 0 / 0.9848 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.99e-05/0.8178, allocations: 23.88 kB / 0.9848 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.8178, allocations: 0 / 0.9848 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.8179, allocations: 0 / 0.9848 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.8179, allocations: 0 / 0.9848 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.8179, allocations: 4 kB / 0.9848 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000247/0.8181, allocations: 171.5 kB / 0.985 GB, free: 2 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.636e-05/0.8182, allocations: 81.11 kB / 0.985 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.8182, allocations: 7.953 kB / 0.985 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.729e-05/0.8183, allocations: 11.98 kB / 0.985 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.669e-05/0.8183, allocations: 3.938 kB / 0.9851 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-06/0.8183, allocations: 7.938 kB / 0.9851 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.271e-05/0.8184, allocations: 83.27 kB / 0.9851 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8184, allocations: 0 / 0.9851 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002185/0.8186, allocations: 8 kB / 0.9851 GB, free: 1.781 MB / 0.7325 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 (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.0005445/0.8192, allocations: 0.7051 MB / 0.9858 GB, free: 1.051 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000211/0.8194, allocations: 55.94 kB / 0.9859 GB, free: 0.9961 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.8194, allocations: 0 / 0.9859 GB, free: 0.9961 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.55e-05/0.8195, allocations: 27.92 kB / 0.9859 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002971/0.8198, allocations: 17.38 kB / 0.9859 GB, free: 0.9531 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005043/0.8203, allocations: 154.2 kB / 0.9861 GB, free: 0.7578 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.8206, allocations: 0.677 MB / 0.9867 GB, free: 56 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.29e-05/0.8207, allocations: 0 / 0.9867 GB, free: 56 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.259e-05/0.8207, allocations: 15.44 kB / 0.9868 GB, free: 40 kB / 0.7325 GB Notification: Performance of SimCode: time 7.11e-07/0.8207, allocations: 4 kB / 0.9868 GB, free: 36 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01349/0.8342, allocations: 1.102 MB / 0.9878 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002408/0.8345, allocations: 212.2 kB / 0.988 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.778/2.612, allocations: 0 / 0.988 GB, free: 14.88 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat does not exist to compare? outputFormat=mat