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.001871/0.001871, allocations: 98.53 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.001959/0.001958, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.637/2.637, allocations: 223.2 MB / 239.9 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 5.19/5.19, allocations: 409.2 MB / 0.6838 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006203/0.0006212, allocations: 8 kB / 0.8375 GB, free: 6.594 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.632/1.632, allocations: 146.8 MB / 0.9809 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.002911/1.635, allocations: 1.118 MB / 0.982 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.000783/1.636, allocations: 253.8 kB / 0.9822 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.707e-05/1.636, allocations: 0 / 0.9822 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.901e-05/1.636, allocations: 3.938 kB / 0.9822 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.24e-05/1.636, allocations: 7.984 kB / 0.9822 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004055/1.637, allocations: 43.92 kB / 0.9823 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.483e-05/1.637, allocations: 19.92 kB / 0.9823 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/1.637, allocations: 3.984 kB / 0.9823 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.134e-05/1.637, allocations: 7.984 kB / 0.9823 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.464e-05/1.637, allocations: 12 kB / 0.9823 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/1.637, allocations: 3.938 kB / 0.9823 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003373/1.638, allocations: 103.9 kB / 0.9824 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.47e-05/1.638, allocations: 7.875 kB / 0.9824 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.298e-05/1.638, allocations: 29.7 kB / 0.9824 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003503/1.638, allocations: 42.2 kB / 0.9825 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/1.638, allocations: 0 / 0.9825 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.514e-06/1.638, allocations: 3.938 kB / 0.9825 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.191e-06/1.638, allocations: 0 / 0.9825 GB, free: 4.656 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.0007837/1.639, allocations: 355.2 kB / 0.9828 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 7.781e-05/1.639, allocations: 8.031 kB / 0.9828 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.585e-05/1.639, allocations: 30.56 kB / 0.9829 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.606e-05/1.639, allocations: 4 kB / 0.9829 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002073/1.639, allocations: 163.1 kB / 0.983 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/1.639, allocations: 0 / 0.983 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.757e-05/1.639, allocations: 7.953 kB / 0.983 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003187/1.64, allocations: 65.59 kB / 0.9831 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/1.64, allocations: 0 / 0.9831 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/1.64, allocations: 0 / 0.9831 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/1.64, allocations: 0 / 0.9831 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003007/1.64, allocations: 43.97 kB / 0.9831 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005843/1.641, allocations: 256.8 kB / 0.9834 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002082/1.641, allocations: 34.56 kB / 0.9834 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.239e-05/1.641, allocations: 8.047 kB / 0.9834 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.534e-05/1.641, allocations: 42.5 kB / 0.9834 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.11e-05/1.641, allocations: 0 / 0.9834 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0006255/1.642, allocations: 93.73 kB / 0.9835 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.752e-05/1.642, allocations: 51.41 kB / 0.9836 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002681/1.642, allocations: 105.8 kB / 0.9837 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/1.642, allocations: 25.7 kB / 0.9837 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.541e-05/1.642, allocations: 88.08 kB / 0.9838 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.502e-05/1.642, allocations: 3.906 kB / 0.9838 GB, free: 3.09 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.519e-06/1.642, allocations: 0 / 0.9838 GB, free: 3.09 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001954/1.642, allocations: 322.9 kB / 0.9841 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001447/1.643, allocations: 19.98 kB / 0.9841 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000131/1.643, allocations: 27.86 kB / 0.9842 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/1.643, allocations: 24.05 kB / 0.9842 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/1.643, allocations: 0 / 0.9842 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004022/1.643, allocations: 77.61 kB / 0.9843 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.728e-05/1.643, allocations: 8 kB / 0.9843 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/1.643, allocations: 0 / 0.9843 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/1.643, allocations: 4.031 kB / 0.9843 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001486/1.644, allocations: 11.98 kB / 0.9843 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/1.644, allocations: 0 / 0.9843 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.568e-05/1.644, allocations: 8 kB / 0.9843 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/1.644, allocations: 3.984 kB / 0.9843 GB, free: 2.578 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.0002094/1.644, allocations: 105.8 kB / 0.9844 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.618e-05/1.644, allocations: 11.95 kB / 0.9844 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000391/1.644, allocations: 84.66 kB / 0.9845 GB, free: 2.367 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.563e-06/1.644, allocations: 4 kB / 0.9845 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/1.644, allocations: 0 / 0.9845 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/1.644, allocations: 0 / 0.9845 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000395/1.645, allocations: 169.6 kB / 0.9846 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.644e-06/1.645, allocations: 0 / 0.9846 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.814e-05/1.645, allocations: 8 kB / 0.9847 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/1.645, allocations: 3.953 kB / 0.9847 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/1.645, allocations: 0 / 0.9847 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/1.645, allocations: 0 / 0.9847 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.556e-06/1.645, allocations: 7.984 kB / 0.9847 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004539/1.646, allocations: 175.5 kB / 0.9848 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.522e-05/1.646, allocations: 81.09 kB / 0.9849 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.584e-05/1.646, allocations: 3.953 kB / 0.9849 GB, free: 1.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/1.646, allocations: 8 kB / 0.9849 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.598e-05/1.646, allocations: 8.016 kB / 0.9849 GB, free: 1.824 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/1.646, allocations: 0 / 0.9849 GB, free: 1.824 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.677e-05/1.646, allocations: 83.47 kB / 0.985 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.1e-07/1.646, allocations: 0 / 0.985 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000513/1.647, allocations: 12 kB / 0.985 GB, free: 1.73 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.001419/1.648, allocations: 0.7126 MB / 0.9857 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000404/1.648, allocations: 51.94 kB / 0.9858 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/1.648, allocations: 3.938 kB / 0.9858 GB, free: 0.9375 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001365/1.649, allocations: 27.97 kB / 0.9858 GB, free: 0.9102 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003906/1.649, allocations: 3.953 kB / 0.9858 GB, free: 0.9062 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009658/1.65, allocations: 158.3 kB / 0.9859 GB, free: 0.707 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007066/1.651, allocations: 0.6809 MB / 0.9866 GB, free: 0 / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.509e-05/1.651, allocations: 11.97 kB / 0.9866 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.623e-05/1.651, allocations: 7.438 kB / 0.9866 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of SimCode: time 5.81e-07/1.651, allocations: 0 / 0.9866 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02431/1.675, allocations: 1.219 MB / 0.9878 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003778/1.676, allocations: 206.7 kB / 0.988 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.211/4.887, allocations: 0 / 0.988 GB, free: 14.7 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