Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.WaterProperties.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.Examples.WaterProperties,fileNamePrefix="Buildings_9_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_9_Buildings_Media_Examples_WaterProperties",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.00106/0.001059, 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.001145/0.001145, 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.475/1.475, allocations: 223.3 MB / 240 MB, free: 5.426 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.594/2.594, allocations: 390.4 MB / 0.6655 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003828/0.0003831, allocations: 8 kB / 0.8149 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8692/0.8696, allocations: 142.3 MB / 0.9538 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.005243/0.8749, allocations: 4.218 MB / 0.9579 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002274/0.8772, allocations: 2.48 MB / 0.9604 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.363e-05/0.8774, allocations: 0 / 0.9604 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002271/0.8776, allocations: 40.94 kB / 0.9604 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002432/0.8779, allocations: 78.44 kB / 0.9605 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009845/0.8788, allocations: 416.6 kB / 0.9609 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002557/0.8791, allocations: 265.9 kB / 0.9611 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.688e-05/0.8792, allocations: 9.156 kB / 0.9611 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002312/0.8794, allocations: 113.1 kB / 0.9612 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001655/0.8796, allocations: 94.48 kB / 0.9613 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.404e-05/0.8796, allocations: 6.875 kB / 0.9613 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000801/0.8804, allocations: 263.2 kB / 0.9616 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.821e-05/0.8805, allocations: 34.89 kB / 0.9616 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.58e-05/0.8806, allocations: 52.89 kB / 0.9617 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004665/0.8811, allocations: 225.4 kB / 0.9619 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.8811, allocations: 0 / 0.9619 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.594e-06/0.8811, allocations: 0 / 0.9619 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.8811, allocations: 4 kB / 0.9619 GB, free: 1.727 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.0007559/0.8819, allocations: 476.2 kB / 0.9624 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.936e-05/0.882, allocations: 9.438 kB / 0.9624 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.148e-05/0.882, allocations: 52.48 kB / 0.9624 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001821/0.8822, allocations: 20.81 kB / 0.9624 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002358/0.8825, allocations: 212 kB / 0.9626 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.8825, allocations: 14.66 kB / 0.9626 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.849e-05/0.8825, allocations: 14.53 kB / 0.9627 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00046/0.883, allocations: 251.9 kB / 0.9629 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.883, allocations: 4.922 kB / 0.9629 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.944e-05/0.8831, allocations: 7.219 kB / 0.9629 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-05/0.8831, allocations: 4.75 kB / 0.9629 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006503/0.8838, allocations: 428.1 kB / 0.9633 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001333/0.8851, allocations: 0.9467 MB / 0.9643 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004149/0.8855, allocations: 163.5 kB / 0.9644 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001528/0.8857, allocations: 62.41 kB / 0.9645 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002049/0.8878, allocations: 1.824 MB / 0.9662 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.356e-05/0.8878, allocations: 39.75 kB / 0.9663 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.794e-06/0.8878, allocations: 5.125 kB / 0.9663 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0004633/0.8883, allocations: 137.8 kB / 0.9664 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.135e-05/0.8884, allocations: 53 kB / 0.9665 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002197/0.8886, allocations: 175 kB / 0.9666 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.301e-05/0.8887, allocations: 32.05 kB / 0.9667 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.8888, allocations: 138.9 kB / 0.9668 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.814e-05/0.8888, allocations: 51.31 kB / 0.9669 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.286e-05/0.8889, allocations: 4 kB / 0.9669 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.889, allocations: 333.9 kB / 0.9672 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.653e-05/0.8891, allocations: 33.27 kB / 0.9672 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002015/0.8894, allocations: 140.4 kB / 0.9673 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/0.8895, allocations: 58.12 kB / 0.9674 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/0.8895, allocations: 4.938 kB / 0.9674 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004839/0.89, allocations: 207.7 kB / 0.9676 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.886e-05/0.8901, allocations: 15.45 kB / 0.9676 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.8901, allocations: 3.656 kB / 0.9676 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.8901, allocations: 4.969 kB / 0.9676 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002472/0.8904, allocations: 55.17 kB / 0.9677 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-05/0.8904, allocations: 7.781 kB / 0.9677 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001841/0.8906, allocations: 30.09 kB / 0.9677 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.834e-05/0.8906, allocations: 13.14 kB / 0.9677 GB, free: 12.21 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001572/0.8908, allocations: 138.5 kB / 0.9679 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.199e-05/0.8909, allocations: 22.34 kB / 0.9679 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003735/0.8912, allocations: 146.3 kB / 0.968 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.465e-05/0.8913, allocations: 1.344 kB / 0.968 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-06/0.8913, allocations: 1.625 kB / 0.968 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/0.8913, allocations: 3.984 kB / 0.968 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003797/0.8917, allocations: 217.7 kB / 0.9682 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.8917, allocations: 0 / 0.9682 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001265/0.8918, allocations: 27.23 kB / 0.9683 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/0.8919, allocations: 1.344 kB / 0.9683 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.8919, allocations: 13.16 kB / 0.9683 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.8919, allocations: 1.344 kB / 0.9683 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.8919, allocations: 0 / 0.9683 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003498/0.8923, allocations: 230 kB / 0.9685 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001292/0.8924, allocations: 114.3 kB / 0.9686 GB, free: 11.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.571e-05/0.8925, allocations: 5.344 kB / 0.9686 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002998/0.8928, allocations: 24.05 kB / 0.9686 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.097e-05/0.8928, allocations: 9.078 kB / 0.9686 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.746e-05/0.8928, allocations: 14.67 kB / 0.9686 GB, free: 11.37 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001216/0.893, allocations: 122.9 kB / 0.9688 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.61e-07/0.893, allocations: 0 / 0.9688 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006373/0.8936, allocations: 78.45 kB / 0.9688 GB, free: 11.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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0009879/0.8946, allocations: 0.8166 MB / 0.9696 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003325/0.895, allocations: 114.4 kB / 0.9697 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.895, allocations: 1.312 kB / 0.9697 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.727e-05/0.8951, allocations: 51.19 kB / 0.9698 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006762/0.8958, allocations: 48.47 kB / 0.9698 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002142/0.8979, allocations: 1.018 MB / 0.9708 GB, free: 9.625 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004508/0.8984, allocations: 0.7115 MB / 0.9715 GB, free: 8.91 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002721/0.8987, allocations: 47.78 kB / 0.9716 GB, free: 8.883 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.954e-05/0.8988, allocations: 48.86 kB / 0.9716 GB, free: 8.848 MB / 0.7325 GB Notification: Performance of SimCode: time 7.01e-07/0.8988, allocations: 0 / 0.9716 GB, free: 8.848 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03591/0.9347, allocations: 4.771 MB / 0.9763 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002865/0.9351, allocations: 178.5 kB / 0.9765 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.761/2.696, allocations: 0 / 0.9765 GB, free: 6.289 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_9_Buildings.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Media.Examples.WaterProperties_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Examples_WaterProperties.fmu > Buildings_9_Buildings.Media.Examples.WaterProperties.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Media.Examples.WaterProperties_res.mat does not exist to compare? outputFormat=mat