Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_9_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_9_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",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.0009895/0.0009895, allocations: 94.66 kB / 15.06 MB, free: 1.086 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.001203/0.001203, 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.419/1.419, allocations: 223.3 MB / 240 MB, free: 5.309 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.424/2.424, allocations: 390.4 MB / 0.6655 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000376/0.0003762, allocations: 8 kB / 0.8149 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8626/0.863, allocations: 142.3 MB / 0.9538 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004236/0.8673, allocations: 3.584 MB / 0.9573 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002225/0.8696, allocations: 2.256 MB / 0.9595 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001553/0.8698, allocations: 1.562 kB / 0.9596 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002334/0.87, allocations: 40.23 kB / 0.9596 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002532/0.8703, allocations: 83.02 kB / 0.9597 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001131/0.8714, allocations: 426.3 kB / 0.9601 GB, free: 3 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002662/0.8717, allocations: 295.2 kB / 0.9604 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.781e-05/0.8717, allocations: 9.812 kB / 0.9604 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001808/0.8719, allocations: 102.6 kB / 0.9605 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/0.872, allocations: 100.9 kB / 0.9606 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.8721, allocations: 6.875 kB / 0.9606 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006333/0.8727, allocations: 350.1 kB / 0.9609 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.921e-05/0.8728, allocations: 45.92 kB / 0.9609 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.244e-05/0.8729, allocations: 54.58 kB / 0.961 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003319/0.8732, allocations: 253.8 kB / 0.9612 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.8732, allocations: 0 / 0.9612 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.282e-06/0.8732, allocations: 0 / 0.9612 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.8732, allocations: 1.031 kB / 0.9612 GB, free: 2.348 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005852/0.8738, allocations: 488 kB / 0.9617 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.8739, allocations: 10.06 kB / 0.9617 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.327e-05/0.8739, allocations: 48.27 kB / 0.9618 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001774/0.8757, allocations: 183 kB / 0.9619 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001863/0.8759, allocations: 208.3 kB / 0.9621 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.744e-05/0.8759, allocations: 14.89 kB / 0.9621 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.255e-05/0.876, allocations: 14.34 kB / 0.9622 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005619/0.8765, allocations: 308 kB / 0.9625 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.8766, allocations: 8.891 kB / 0.9625 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.152e-05/0.8766, allocations: 11.5 kB / 0.9625 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.176e-05/0.8766, allocations: 4.969 kB / 0.9625 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006136/0.8772, allocations: 262.5 kB / 0.9627 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001291/0.8785, allocations: 1.38 MB / 0.9641 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005785/0.8791, allocations: 186.4 kB / 0.9643 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002037/0.8793, allocations: 75.22 kB / 0.9643 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.97e-05/0.8794, allocations: 18.41 kB / 0.9643 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.8794, allocations: 49.33 kB / 0.9644 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=18): time 1.623e-06/0.8794, allocations: 0 / 0.9644 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18): time 0.0006983/0.8801, allocations: 239.6 kB / 0.9646 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.691e-05/0.8802, allocations: 57.94 kB / 0.9647 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.8803, allocations: 161.1 kB / 0.9648 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/0.8803, allocations: 30.92 kB / 0.9649 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.086e-05/0.8804, allocations: 122.2 kB / 0.965 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.755e-05/0.8805, allocations: 59.23 kB / 0.965 GB, free: 15 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.4e-05/0.8805, allocations: 1.25 kB / 0.965 GB, free: 15 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.8806, allocations: 326 kB / 0.9653 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001968/0.8808, allocations: 71.09 kB / 0.9654 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002343/0.8811, allocations: 134.2 kB / 0.9655 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002065/0.8813, allocations: 85.62 kB / 0.9656 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.8813, allocations: 3.188 kB / 0.9656 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000542/0.8818, allocations: 253.5 kB / 0.9659 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.624e-05/0.8819, allocations: 6.062 kB / 0.9659 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.8819, allocations: 3.281 kB / 0.9659 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.8819, allocations: 3.5 kB / 0.9659 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003379/0.8822, allocations: 66.61 kB / 0.9659 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.353e-05/0.8823, allocations: 3.875 kB / 0.9659 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002546/0.8825, allocations: 36.73 kB / 0.966 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.361e-05/0.8826, allocations: 9.125 kB / 0.966 GB, free: 14.29 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * 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.0001258/0.8827, allocations: 133 kB / 0.9661 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.017e-05/0.8827, allocations: 16.36 kB / 0.9661 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006486/0.8834, allocations: 235.3 kB / 0.9664 GB, free: 14 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/0.8834, allocations: 6.125 kB / 0.9664 GB, free: 14 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.8834, allocations: 0 / 0.9664 GB, free: 14 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.8834, allocations: 3.984 kB / 0.9664 GB, free: 14 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003426/0.8838, allocations: 248.5 kB / 0.9666 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.8838, allocations: 5.047 kB / 0.9666 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003028/0.8841, allocations: 46.34 kB / 0.9667 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.021e-05/0.8841, allocations: 4.828 kB / 0.9667 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.06e-05/0.8842, allocations: 5.031 kB / 0.9667 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.8842, allocations: 1.969 kB / 0.9667 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.8842, allocations: 0 / 0.9667 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006337/0.8848, allocations: 292.7 kB / 0.9669 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001408/0.885, allocations: 109 kB / 0.967 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.776e-05/0.885, allocations: 2.219 kB / 0.967 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000274/0.8853, allocations: 27.72 kB / 0.9671 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.76e-05/0.8854, allocations: 9.922 kB / 0.9671 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.844e-05/0.8854, allocations: 14.11 kB / 0.9671 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001296/0.8855, allocations: 116.1 kB / 0.9672 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8855, allocations: 3.938 kB / 0.9672 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004552/0.886, allocations: 60.69 kB / 0.9673 GB, free: 13.25 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 (20): * Single equations (assignments): 20 * 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.001108/0.8871, allocations: 0.8615 MB / 0.9681 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005345/0.8877, allocations: 180.4 kB / 0.9683 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.319e-06/0.8877, allocations: 5.125 kB / 0.9683 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002102/0.8879, allocations: 82.89 kB / 0.9684 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005421/0.8884, allocations: 54.39 kB / 0.9684 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002274/0.8907, allocations: 1.124 MB / 0.9695 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.8911, allocations: 0.7182 MB / 0.9702 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004171/0.8915, allocations: 48.62 kB / 0.9703 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/0.8917, allocations: 48.56 kB / 0.9703 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of SimCode: time 8.21e-07/0.8917, allocations: 0 / 0.9703 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01863/0.9103, allocations: 4.723 MB / 0.9749 GB, free: 8.48 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002908/0.9106, allocations: 219.6 kB / 0.9751 GB, free: 8.242 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.855/2.765, allocations: 2.438 kB / 0.9751 GB, free: 8.242 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat does not exist to compare? outputFormat=mat