Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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.SublimationPressureIce,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce,fileNamePrefix="Buildings_9_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.000851/0.000851, allocations: 90.75 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.0009615/0.0009614, 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.454/1.454, allocations: 223.3 MB / 240 MB, free: 5.441 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.489/2.489, allocations: 390.4 MB / 0.6655 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003348/0.0003348, allocations: 8 kB / 0.8149 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9896/0.99, allocations: 142.3 MB / 0.9538 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.001433/0.9914, allocations: 1.121 MB / 0.9549 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004614/0.9919, allocations: 269.8 kB / 0.9552 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.648e-05/0.992, allocations: 0.9375 kB / 0.9552 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.357e-05/0.992, allocations: 0 / 0.9552 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.053e-05/0.992, allocations: 4.844 kB / 0.9552 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002419/0.9923, allocations: 48.22 kB / 0.9552 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.768e-05/0.9924, allocations: 19.95 kB / 0.9553 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.607e-05/0.9924, allocations: 6.219 kB / 0.9553 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.261e-05/0.9925, allocations: 16.12 kB / 0.9553 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.079e-05/0.9926, allocations: 7.594 kB / 0.9553 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.214e-05/0.9926, allocations: 1.062 kB / 0.9553 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001718/0.9928, allocations: 93.25 kB / 0.9554 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.458e-06/0.9928, allocations: 5.453 kB / 0.9554 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.194e-05/0.9928, allocations: 35.36 kB / 0.9554 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001037/0.9929, allocations: 42.88 kB / 0.9555 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.9929, allocations: 0 / 0.9555 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.503e-06/0.9929, allocations: 0 / 0.9555 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.608e-06/0.9929, allocations: 1.031 kB / 0.9555 GB, free: 6.773 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.0003986/0.9933, allocations: 362 kB / 0.9558 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.9934, allocations: 9.844 kB / 0.9558 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.631e-05/0.9934, allocations: 30.56 kB / 0.9558 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.333e-05/0.9935, allocations: 2.125 kB / 0.9558 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.106e-05/0.9935, allocations: 164.2 kB / 0.956 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.9936, allocations: 5.156 kB / 0.956 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.193e-05/0.9936, allocations: 5.062 kB / 0.956 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.9937, allocations: 53.58 kB / 0.9561 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.9938, allocations: 3.984 kB / 0.9561 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.9938, allocations: 9.047 kB / 0.9561 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.9938, allocations: 0 / 0.9561 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001558/0.9939, allocations: 43.94 kB / 0.9561 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002698/0.9942, allocations: 250.2 kB / 0.9564 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/0.9943, allocations: 38.94 kB / 0.9564 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.48e-05/0.9944, allocations: 29.2 kB / 0.9564 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.9945, allocations: 1.344 kB / 0.9564 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.542e-05/0.9945, allocations: 38.5 kB / 0.9565 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.9945, allocations: 0 / 0.9565 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003272/0.9948, allocations: 103.8 kB / 0.9566 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/0.9949, allocations: 51.41 kB / 0.9566 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.154e-05/0.9949, allocations: 103.1 kB / 0.9567 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.663e-06/0.9949, allocations: 25.7 kB / 0.9567 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.809e-05/0.995, allocations: 89.17 kB / 0.9568 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.484e-05/0.995, allocations: 9.062 kB / 0.9568 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.966e-06/0.995, allocations: 0 / 0.9568 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.567e-05/0.995, allocations: 316 kB / 0.9571 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.509e-05/0.9951, allocations: 18.33 kB / 0.9571 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.773e-05/0.9952, allocations: 26.11 kB / 0.9572 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.547e-05/0.9953, allocations: 18.64 kB / 0.9572 GB, free: 5 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.9953, allocations: 0 / 0.9572 GB, free: 5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001726/0.9955, allocations: 85.94 kB / 0.9573 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.9955, allocations: 8.609 kB / 0.9573 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.9955, allocations: 1.5 kB / 0.9573 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.9955, allocations: 0 / 0.9573 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.011e-05/0.9956, allocations: 12.77 kB / 0.9573 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.9956, allocations: 4 kB / 0.9573 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.612e-05/0.9957, allocations: 13.83 kB / 0.9573 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.9957, allocations: 5.5 kB / 0.9573 GB, free: 4.918 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 4.977e-05/0.9957, allocations: 111.4 kB / 0.9574 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.186e-05/0.9957, allocations: 1.469 kB / 0.9574 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002058/0.996, allocations: 92.36 kB / 0.9575 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.996, allocations: 3.938 kB / 0.9575 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.996, allocations: 0 / 0.9575 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.996, allocations: 0 / 0.9575 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001134/0.9961, allocations: 158.6 kB / 0.9577 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.9961, allocations: 0 / 0.9577 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.118e-05/0.9962, allocations: 9.094 kB / 0.9577 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.9962, allocations: 0 / 0.9577 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.9962, allocations: 1 kB / 0.9577 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.9962, allocations: 11.97 kB / 0.9577 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.9962, allocations: 0.9688 kB / 0.9577 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000189/0.9964, allocations: 168.6 kB / 0.9578 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.105e-05/0.9964, allocations: 86.56 kB / 0.9579 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.176e-05/0.9964, allocations: 0 / 0.9579 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.916e-05/0.9965, allocations: 5.656 kB / 0.9579 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.574e-05/0.9966, allocations: 9.438 kB / 0.9579 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.9966, allocations: 1.469 kB / 0.9579 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.218e-05/0.9966, allocations: 85.78 kB / 0.958 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9966, allocations: 0 / 0.958 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002309/0.9968, allocations: 14.56 kB / 0.958 GB, free: 4.176 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.0004358/0.9973, allocations: 0.715 MB / 0.9587 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001863/0.9975, allocations: 45.23 kB / 0.9588 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.9975, allocations: 0 / 0.9588 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.169e-05/0.9976, allocations: 29.02 kB / 0.9588 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002674/0.9978, allocations: 11.69 kB / 0.9588 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003931/0.9982, allocations: 166.2 kB / 0.959 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001081/0.9984, allocations: 0.6772 MB / 0.9596 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.302e-05/0.9984, allocations: 5.406 kB / 0.9596 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.568e-05/0.9984, allocations: 16.8 kB / 0.9597 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of SimCode: time 5.11e-07/0.9984, allocations: 0 / 0.9597 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01089/1.009, allocations: 1.222 MB / 0.9608 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000142/1.01, allocations: 210.9 kB / 0.9611 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.642/2.652, allocations: 3.938 kB / 0.9611 GB, free: 1.758 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce_res.mat does not exist to compare? outputFormat=mat