Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.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.SublimationPressureIce,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce",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.001005/0.001005, allocations: 91.61 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.001002/0.001002, 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.453/1.453, 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 10.0.0-master/package.mo): time 2.598/2.598, allocations: 409.4 MB / 0.684 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004061/0.0004062, allocations: 8 kB / 0.8378 GB, free: 6.488 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8402/0.8406, allocations: 146.8 MB / 0.9811 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.001662/0.8424, allocations: 1.122 MB / 0.9822 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0005156/0.8429, allocations: 261.6 kB / 0.9825 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.913e-05/0.8429, allocations: 0 / 0.9825 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.865e-05/0.843, allocations: 0 / 0.9825 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.776e-05/0.843, allocations: 7.969 kB / 0.9825 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002565/0.8433, allocations: 51.75 kB / 0.9825 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.953e-05/0.8434, allocations: 23.94 kB / 0.9826 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.706e-05/0.8435, allocations: 7.984 kB / 0.9826 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.213e-05/0.8435, allocations: 4 kB / 0.9826 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.725e-05/0.8436, allocations: 15.92 kB / 0.9826 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.123e-05/0.8436, allocations: 0 / 0.9826 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001901/0.8438, allocations: 95.78 kB / 0.9827 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.181e-05/0.8438, allocations: 7.984 kB / 0.9827 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.124e-05/0.8438, allocations: 25.7 kB / 0.9827 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001098/0.844, allocations: 38.2 kB / 0.9827 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.987e-06/0.844, allocations: 8 kB / 0.9828 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.956e-06/0.844, allocations: 0 / 0.9828 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.844, allocations: 0 / 0.9828 GB, free: 4.523 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.0004715/0.8445, allocations: 351.2 kB / 0.9831 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.8445, allocations: 12.02 kB / 0.9831 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.804e-05/0.8446, allocations: 34.5 kB / 0.9831 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.225e-05/0.8446, allocations: 0 / 0.9831 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.8447, allocations: 171.1 kB / 0.9833 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.8448, allocations: 3.938 kB / 0.9833 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.384e-05/0.8448, allocations: 3.953 kB / 0.9833 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.845, allocations: 53.67 kB / 0.9834 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.845, allocations: 3.938 kB / 0.9834 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.845, allocations: 0 / 0.9834 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.845, allocations: 4 kB / 0.9834 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001647/0.8452, allocations: 47.95 kB / 0.9834 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003562/0.8455, allocations: 248.8 kB / 0.9836 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.8457, allocations: 46.5 kB / 0.9837 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.582e-05/0.8458, allocations: 28.89 kB / 0.9837 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.8458, allocations: 4 kB / 0.9837 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.8458, allocations: 30.56 kB / 0.9838 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.8458, allocations: 4 kB / 0.9838 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003572/0.8462, allocations: 93.64 kB / 0.9838 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/0.8463, allocations: 59.47 kB / 0.9839 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.309e-05/0.8464, allocations: 97.86 kB / 0.984 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.8464, allocations: 25.7 kB / 0.984 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.324e-05/0.8464, allocations: 92.06 kB / 0.9841 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.959e-05/0.8465, allocations: 11.89 kB / 0.9841 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-06/0.8465, allocations: 0 / 0.9841 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.8466, allocations: 314.8 kB / 0.9844 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.982e-05/0.8467, allocations: 23.98 kB / 0.9844 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.904e-05/0.8468, allocations: 19.98 kB / 0.9845 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.205e-05/0.8469, allocations: 23.97 kB / 0.9845 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.8469, allocations: 7.953 kB / 0.9845 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001796/0.8471, allocations: 73.73 kB / 0.9846 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.8471, allocations: 4 kB / 0.9846 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.8471, allocations: 3.984 kB / 0.9846 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.8471, allocations: 0 / 0.9846 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.36e-05/0.8472, allocations: 15.97 kB / 0.9846 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.8472, allocations: 0 / 0.9846 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.627e-05/0.8473, allocations: 11.98 kB / 0.9846 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.8473, allocations: 0 / 0.9846 GB, free: 2.41 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 0.0001008/0.8474, allocations: 113.8 kB / 0.9847 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.557e-05/0.8474, allocations: 7.953 kB / 0.9847 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002312/0.8477, allocations: 80.78 kB / 0.9848 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.8477, allocations: 192 / 0.9848 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.8477, allocations: 3.984 kB / 0.9848 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.8477, allocations: 3.984 kB / 0.9848 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001777/0.8479, allocations: 157.6 kB / 0.9849 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.8479, allocations: 3.938 kB / 0.9849 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.885e-05/0.848, allocations: 19.97 kB / 0.985 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.848, allocations: 0 / 0.985 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.353e-06/0.848, allocations: 4 kB / 0.985 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.141e-06/0.848, allocations: 7.938 kB / 0.985 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.848, allocations: 0 / 0.985 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002544/0.8483, allocations: 171.5 kB / 0.9851 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.697e-05/0.8483, allocations: 77.11 kB / 0.9852 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.8483, allocations: 7.953 kB / 0.9852 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.96e-05/0.8484, allocations: 7.984 kB / 0.9852 GB, free: 1.66 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.402e-05/0.8485, allocations: 0 / 0.9852 GB, free: 1.66 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.369e-05/0.8485, allocations: 4 kB / 0.9852 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.444e-05/0.8486, allocations: 87.3 kB / 0.9853 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8486, allocations: 0 / 0.9853 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002259/0.8488, allocations: 12 kB / 0.9853 GB, free: 1.559 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.0006032/0.8494, allocations: 0.7124 MB / 0.986 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002049/0.8496, allocations: 51.98 kB / 0.9861 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.8496, allocations: 0 / 0.9861 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.887e-05/0.8497, allocations: 23.98 kB / 0.9861 GB, free: 0.7461 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/0.85, allocations: 3.953 kB / 0.9861 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000434/0.8505, allocations: 174.1 kB / 0.9863 GB, free: 0.5273 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.8508, allocations: 0.677 MB / 0.9869 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.536e-05/0.8508, allocations: 4 kB / 0.9869 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.924e-05/0.8508, allocations: 7.438 kB / 0.9869 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of SimCode: time 2.2e-07/0.8509, allocations: 0 / 0.9869 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01147/0.8623, allocations: 1.24 MB / 0.9882 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001765/0.8625, allocations: 205.6 kB / 0.9883 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.835/2.698, allocations: 3.938 kB / 0.9884 GB, free: 14.52 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce_res.mat does not exist to compare? outputFormat=mat