Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="Buildings_9_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.001394/0.001393, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.00172/0.00172, allocations: 177.3 kB / 15.95 MB, free: 216 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.491/1.491, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.578/2.578, allocations: 390.3 MB / 0.6653 GB, free: 3.043 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005247/0.0005248, allocations: 12 kB / 0.8146 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8746/0.8752, allocations: 142.3 MB / 0.9536 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.001525/0.8767, allocations: 1.115 MB / 0.9547 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008367/0.8776, allocations: 0.5453 MB / 0.9552 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.76e-05/0.8776, allocations: 0 / 0.9552 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.545e-05/0.8777, allocations: 0.875 kB / 0.9552 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.702e-05/0.8777, allocations: 0.9375 kB / 0.9552 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003135/0.878, allocations: 86.55 kB / 0.9553 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.535e-05/0.8781, allocations: 18.22 kB / 0.9553 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.309e-05/0.8782, allocations: 10.39 kB / 0.9553 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.959e-05/0.8783, allocations: 7.5 kB / 0.9553 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.023e-05/0.8783, allocations: 11.83 kB / 0.9553 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.8783, allocations: 1.156 kB / 0.9553 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002841/0.8786, allocations: 151.9 kB / 0.9555 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.955e-06/0.8786, allocations: 0.9062 kB / 0.9555 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.194e-05/0.8787, allocations: 35.61 kB / 0.9555 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001475/0.8788, allocations: 68.78 kB / 0.9556 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.8788, allocations: 5.156 kB / 0.9556 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.884e-06/0.8788, allocations: 0 / 0.9556 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.8788, allocations: 4 kB / 0.9556 GB, free: 6.57 MB / 0.7169 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.0003807/0.8792, allocations: 369.8 kB / 0.9559 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.8793, allocations: 8.906 kB / 0.9559 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.006e-05/0.8793, allocations: 30.56 kB / 0.956 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004034/0.8797, allocations: 32.08 kB / 0.956 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.197e-05/0.8798, allocations: 161.2 kB / 0.9562 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/0.8798, allocations: 1.125 kB / 0.9562 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.8799, allocations: 1.062 kB / 0.9562 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002409/0.8801, allocations: 70.98 kB / 0.9562 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.8801, allocations: 0 / 0.9562 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.8801, allocations: 7.953 kB / 0.9562 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.8802, allocations: 12.72 kB / 0.9562 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002615/0.8804, allocations: 60.89 kB / 0.9563 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003951/0.8808, allocations: 276 kB / 0.9566 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000205/0.881, allocations: 61.5 kB / 0.9566 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.8811, allocations: 7.953 kB / 0.9566 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.524e-05/0.8811, allocations: 31.5 kB / 0.9567 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.8811, allocations: 1.062 kB / 0.9567 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0005165/0.8816, allocations: 132.8 kB / 0.9568 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.853e-05/0.8817, allocations: 52.97 kB / 0.9568 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.399e-05/0.8817, allocations: 97.95 kB / 0.9569 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.8817, allocations: 25.7 kB / 0.957 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.959e-05/0.8818, allocations: 81.61 kB / 0.957 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.86e-05/0.8818, allocations: 13.08 kB / 0.957 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.262e-06/0.8818, allocations: 4 kB / 0.9571 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.989e-05/0.8819, allocations: 312 kB / 0.9574 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001282/0.882, allocations: 30.91 kB / 0.9574 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/0.8821, allocations: 33.84 kB / 0.9574 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000129/0.8823, allocations: 30.5 kB / 0.9574 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.8823, allocations: 5.344 kB / 0.9574 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000291/0.8826, allocations: 98.77 kB / 0.9575 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.8826, allocations: 10.42 kB / 0.9576 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.8826, allocations: 0 / 0.9576 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.8826, allocations: 1.281 kB / 0.9576 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.8828, allocations: 22.22 kB / 0.9576 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.8828, allocations: 0 / 0.9576 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.529e-05/0.8829, allocations: 12.38 kB / 0.9576 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.8829, allocations: 4.953 kB / 0.9576 GB, free: 4.629 MB / 0.7169 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 5.943e-05/0.8829, allocations: 106.9 kB / 0.9577 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.472e-05/0.883, allocations: 2.312 kB / 0.9577 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.091e-05/0.883, allocations: 16.2 kB / 0.9577 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.883, allocations: 0 / 0.9577 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.883, allocations: 0 / 0.9577 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.883, allocations: 0.9688 kB / 0.9577 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001244/0.8832, allocations: 167.2 kB / 0.9579 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.8832, allocations: 1.094 kB / 0.9579 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001066/0.8833, allocations: 18.56 kB / 0.9579 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.8833, allocations: 4 kB / 0.9579 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.8833, allocations: 5.047 kB / 0.9579 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.8833, allocations: 3.938 kB / 0.9579 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.8833, allocations: 1.281 kB / 0.9579 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003004/0.8836, allocations: 199 kB / 0.9581 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.888e-05/0.8837, allocations: 81.05 kB / 0.9582 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/0.8837, allocations: 3.594 kB / 0.9582 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.8838, allocations: 15 kB / 0.9582 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.173e-05/0.8838, allocations: 0 / 0.9582 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.8839, allocations: 8.016 kB / 0.9582 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.557e-05/0.8839, allocations: 82.41 kB / 0.9583 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8839, allocations: 0 / 0.9583 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002573/0.8841, allocations: 14.69 kB / 0.9583 GB, free: 3.91 MB / 0.7169 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.0005467/0.8847, allocations: 0.7318 MB / 0.959 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002982/0.885, allocations: 71.67 kB / 0.9591 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.885, allocations: 0 / 0.9591 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.8852, allocations: 41.38 kB / 0.9591 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002026/0.8854, allocations: 13.8 kB / 0.9591 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005479/0.8859, allocations: 170.6 kB / 0.9593 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001504/0.8861, allocations: 0.6784 MB / 0.9599 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.07e-05/0.8862, allocations: 15.59 kB / 0.96 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.943e-05/0.8862, allocations: 17.27 kB / 0.96 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.8862, allocations: 0 / 0.96 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01561/0.9019, allocations: 1.379 MB / 0.9613 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001736/0.9021, allocations: 195.8 kB / 0.9615 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.67/2.572, allocations: 1.375 kB / 0.9615 GB, free: 1.375 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat does not exist to compare? outputFormat=mat