Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.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/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.SaturationPressure,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="Buildings_latest_Buildings_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.001073/0.001074, allocations: 92.39 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.001154/0.001154, 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.486/1.486, 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.753/2.753, allocations: 409.4 MB / 0.684 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003868/0.0003874, allocations: 8 kB / 0.8378 GB, free: 6.484 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7522/0.7526, allocations: 146.8 MB / 0.9811 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.001396/0.7541, allocations: 1.118 MB / 0.9822 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0008238/0.7549, allocations: 0.5681 MB / 0.9828 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.524e-05/0.7549, allocations: 0 / 0.9828 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.709e-05/0.755, allocations: 0 / 0.9828 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.141e-05/0.755, allocations: 7.938 kB / 0.9828 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003203/0.7554, allocations: 83.62 kB / 0.9829 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.67e-05/0.7554, allocations: 27.92 kB / 0.9829 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 6.871e-05/0.7555, allocations: 0 / 0.9829 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.016e-05/0.7555, allocations: 7.984 kB / 0.9829 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.512e-05/0.7556, allocations: 15.94 kB / 0.9829 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.102e-05/0.7556, allocations: 0 / 0.9829 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002603/0.7559, allocations: 151.7 kB / 0.9831 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.273e-06/0.7559, allocations: 0 / 0.9831 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.164e-05/0.7559, allocations: 25.7 kB / 0.9831 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001329/0.7561, allocations: 66.17 kB / 0.9831 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.7561, allocations: 0 / 0.9831 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7561, allocations: 0 / 0.9831 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.366e-06/0.7561, allocations: 0 / 0.9831 GB, free: 4.16 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.0004155/0.7565, allocations: 375.2 kB / 0.9835 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.7565, allocations: 8.031 kB / 0.9835 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.091e-05/0.7566, allocations: 34.56 kB / 0.9835 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003631/0.757, allocations: 23.97 kB / 0.9836 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.7571, allocations: 171.1 kB / 0.9837 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.397e-06/0.7571, allocations: 11.88 kB / 0.9837 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.7571, allocations: 3.953 kB / 0.9837 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002147/0.7573, allocations: 65.64 kB / 0.9838 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.7574, allocations: 4 kB / 0.9838 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.7574, allocations: 0 / 0.9838 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.7574, allocations: 0 / 0.9838 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002512/0.7576, allocations: 63.94 kB / 0.9839 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004228/0.7581, allocations: 280.8 kB / 0.9841 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001949/0.7583, allocations: 62.53 kB / 0.9842 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001241/0.7584, allocations: 40.83 kB / 0.9842 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.7584, allocations: 0 / 0.9842 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.7585, allocations: 34.56 kB / 0.9843 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 9.21e-07/0.7585, allocations: 0 / 0.9843 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0004683/0.7589, allocations: 129.6 kB / 0.9844 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/0.759, allocations: 55.34 kB / 0.9844 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.544e-05/0.7591, allocations: 106 kB / 0.9845 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.7591, allocations: 29.64 kB / 0.9846 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.789e-05/0.7591, allocations: 80.14 kB / 0.9847 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.385e-05/0.7592, allocations: 7.906 kB / 0.9847 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.981e-06/0.7592, allocations: 0 / 0.9847 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.7593, allocations: 318.8 kB / 0.985 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001239/0.7594, allocations: 35.97 kB / 0.985 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.7595, allocations: 27.97 kB / 0.985 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001205/0.7597, allocations: 31.97 kB / 0.9851 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.7597, allocations: 4.062 kB / 0.9851 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002934/0.76, allocations: 93.64 kB / 0.9851 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.76, allocations: 4 kB / 0.9852 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.76, allocations: 4.031 kB / 0.9852 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.76, allocations: 3.984 kB / 0.9852 GB, free: 1.867 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.7602, allocations: 19.92 kB / 0.9852 GB, free: 1.848 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.7602, allocations: 0 / 0.9852 GB, free: 1.848 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.687e-05/0.7603, allocations: 11.98 kB / 0.9852 GB, free: 1.836 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.096e-06/0.7603, allocations: 0 / 0.9852 GB, free: 1.836 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 9.109e-05/0.7604, allocations: 117.8 kB / 0.9853 GB, free: 1.711 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.514e-05/0.7604, allocations: 7.938 kB / 0.9853 GB, free: 1.703 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.908e-05/0.7605, allocations: 3.125 kB / 0.9853 GB, free: 1.703 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.7605, allocations: 3.984 kB / 0.9853 GB, free: 1.699 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.7605, allocations: 0 / 0.9853 GB, free: 1.699 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.7605, allocations: 0 / 0.9853 GB, free: 1.699 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001719/0.7607, allocations: 173.5 kB / 0.9855 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.7607, allocations: 0 / 0.9855 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.7608, allocations: 20.17 kB / 0.9855 GB, free: 1.461 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.7608, allocations: 0 / 0.9855 GB, free: 1.461 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.7608, allocations: 3.984 kB / 0.9855 GB, free: 1.457 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.7608, allocations: 0 / 0.9855 GB, free: 1.457 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.7608, allocations: 3.984 kB / 0.9855 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003277/0.7612, allocations: 195.4 kB / 0.9857 GB, free: 1.246 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.994e-05/0.7612, allocations: 85 kB / 0.9858 GB, free: 1.145 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.7612, allocations: 3.984 kB / 0.9858 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.7614, allocations: 16.03 kB / 0.9858 GB, free: 1.125 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.401e-05/0.7614, allocations: 7.984 kB / 0.9858 GB, free: 1.117 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.121e-06/0.7614, allocations: 0 / 0.9858 GB, free: 1.117 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.473e-05/0.7615, allocations: 79.28 kB / 0.9859 GB, free: 1.039 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7615, allocations: 0 / 0.9859 GB, free: 1.039 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002391/0.7617, allocations: 12 kB / 0.9859 GB, free: 1.027 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 (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.0006392/0.7624, allocations: 0.7475 MB / 0.9866 GB, free: 260 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002834/0.7627, allocations: 71.91 kB / 0.9867 GB, free: 188 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.7627, allocations: 0 / 0.9867 GB, free: 188 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001274/0.7628, allocations: 40.03 kB / 0.9867 GB, free: 148 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002601/0.7631, allocations: 0 / 0.9867 GB, free: 148 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005718/0.7637, allocations: 178.1 kB / 0.9869 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/0.7639, allocations: 0.677 MB / 0.9876 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 9.094e-05/0.764, allocations: 8 kB / 0.9876 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.129e-05/0.7641, allocations: 11.42 kB / 0.9876 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of SimCode: time 2.5e-07/0.7641, allocations: 0 / 0.9876 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01217/0.7763, allocations: 1.409 MB / 0.989 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002364/0.7765, allocations: 211.6 kB / 0.9892 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.858/2.634, allocations: 2.031 kB / 0.9892 GB, free: 13.73 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat does not exist to compare? outputFormat=mat