Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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.SaturationPressureLiquid,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_9_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.0008648/0.0008649, allocations: 85.94 kB / 15.06 MB, free: 1.09 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.0009034/0.0009035, allocations: 168.7 kB / 15.95 MB, free: 204 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.479/1.479, allocations: 223.3 MB / 240 MB, free: 5.414 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.523/2.523, allocations: 390.4 MB / 0.6655 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003357/0.0003357, allocations: 11.98 kB / 0.8149 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9179/0.9183, allocations: 142.3 MB / 0.9538 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.001642/0.92, allocations: 1.121 MB / 0.9549 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004543/0.9204, allocations: 187.4 kB / 0.9551 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.037e-05/0.9205, allocations: 1.219 kB / 0.9551 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.461e-05/0.9205, allocations: 0 / 0.9551 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.217e-05/0.9206, allocations: 5.312 kB / 0.9551 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001973/0.9208, allocations: 20.06 kB / 0.9551 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.293e-05/0.9208, allocations: 23.83 kB / 0.9552 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.817e-05/0.9209, allocations: 7.406 kB / 0.9552 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.336e-05/0.921, allocations: 11.08 kB / 0.9552 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.842e-05/0.9211, allocations: 7.531 kB / 0.9552 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.9211, allocations: 1.406 kB / 0.9552 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.58e-05/0.9212, allocations: 29.58 kB / 0.9552 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.248e-06/0.9212, allocations: 1.25 kB / 0.9552 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.538e-05/0.9212, allocations: 30.92 kB / 0.9552 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.528e-05/0.9213, allocations: 28.97 kB / 0.9553 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.9213, allocations: 0 / 0.9553 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.244e-06/0.9213, allocations: 0 / 0.9553 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.9214, allocations: 5.031 kB / 0.9553 GB, free: 7.008 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.0004023/0.9218, allocations: 349.2 kB / 0.9556 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.9218, allocations: 8.562 kB / 0.9556 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.034e-05/0.9219, allocations: 31.75 kB / 0.9556 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001169/0.922, allocations: 3.281 kB / 0.9557 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.9221, allocations: 172 kB / 0.9558 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.9221, allocations: 5.141 kB / 0.9558 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.338e-05/0.9221, allocations: 5.062 kB / 0.9558 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.9223, allocations: 53.52 kB / 0.9559 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.9223, allocations: 0 / 0.9559 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.9224, allocations: 4.984 kB / 0.9559 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.9224, allocations: 0 / 0.9559 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001665/0.9225, allocations: 45 kB / 0.9559 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003305/0.9229, allocations: 249 kB / 0.9562 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/0.923, allocations: 44.16 kB / 0.9562 GB, free: 6 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.454e-05/0.9231, allocations: 26.97 kB / 0.9562 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.9231, allocations: 1.125 kB / 0.9562 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.9231, allocations: 43.69 kB / 0.9563 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/0.9232, allocations: 0 / 0.9563 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003418/0.9235, allocations: 106.2 kB / 0.9564 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/0.9235, allocations: 52.94 kB / 0.9564 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.467e-05/0.9236, allocations: 97.86 kB / 0.9565 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.019e-05/0.9236, allocations: 35.02 kB / 0.9566 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.508e-05/0.9237, allocations: 81.55 kB / 0.9566 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.593e-05/0.9237, allocations: 7.891 kB / 0.9566 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.077e-06/0.9237, allocations: 0.8438 kB / 0.9566 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.237e-05/0.9238, allocations: 316 kB / 0.9569 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.374e-05/0.9238, allocations: 21.55 kB / 0.957 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.556e-05/0.9239, allocations: 21.73 kB / 0.957 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.207e-05/0.924, allocations: 22.39 kB / 0.957 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.924, allocations: 1.406 kB / 0.957 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001741/0.9242, allocations: 80.94 kB / 0.9571 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.9242, allocations: 8.891 kB / 0.9571 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.9242, allocations: 4.609 kB / 0.9571 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.9242, allocations: 1.469 kB / 0.9571 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.518e-05/0.9243, allocations: 12.8 kB / 0.9571 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.9243, allocations: 0 / 0.9571 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.876e-05/0.9244, allocations: 17.3 kB / 0.9571 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.9244, allocations: 4.625 kB / 0.9571 GB, free: 5.152 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 6.164e-05/0.9245, allocations: 112.6 kB / 0.9572 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.201e-05/0.9245, allocations: 1.719 kB / 0.9572 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002314/0.9247, allocations: 93.81 kB / 0.9573 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.9247, allocations: 0 / 0.9573 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.9248, allocations: 0 / 0.9573 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.9248, allocations: 1.5 kB / 0.9573 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001255/0.9249, allocations: 154.2 kB / 0.9575 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.9249, allocations: 0 / 0.9575 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.394e-05/0.925, allocations: 18.08 kB / 0.9575 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.925, allocations: 4 kB / 0.9575 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.925, allocations: 1.375 kB / 0.9575 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.925, allocations: 3.953 kB / 0.9575 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.925, allocations: 1.5 kB / 0.9575 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002078/0.9252, allocations: 187.4 kB / 0.9577 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.701e-05/0.9252, allocations: 78.39 kB / 0.9578 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.9253, allocations: 1.531 kB / 0.9578 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.625e-05/0.9253, allocations: 13.42 kB / 0.9578 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.34e-05/0.9254, allocations: 5.328 kB / 0.9578 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-06/0.9254, allocations: 9.438 kB / 0.9578 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.314e-05/0.9254, allocations: 77.44 kB / 0.9579 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.9254, allocations: 5.312 kB / 0.9579 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002065/0.9257, allocations: 4.188 kB / 0.9579 GB, free: 4.402 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 (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.0003848/0.926, allocations: 0.714 MB / 0.9586 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001884/0.9262, allocations: 47.11 kB / 0.9586 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.9262, allocations: 0 / 0.9586 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.484e-05/0.9263, allocations: 33.83 kB / 0.9586 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/0.9266, allocations: 10.23 kB / 0.9587 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004141/0.927, allocations: 158 kB / 0.9588 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000124/0.9272, allocations: 0.6783 MB / 0.9595 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.183e-05/0.9272, allocations: 5.469 kB / 0.9595 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.308e-05/0.9273, allocations: 12.53 kB / 0.9595 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.9273, allocations: 0 / 0.9595 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01135/0.9386, allocations: 1.095 MB / 0.9605 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001639/0.9388, allocations: 209.3 kB / 0.9607 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.719/2.658, allocations: 0 / 0.9607 GB, free: 2.082 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat does not exist to compare? outputFormat=mat