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.001106/0.001106, allocations: 99.31 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.001182/0.001182, allocations: 177.3 kB / 15.95 MB, free: 216 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.426/1.426, allocations: 223.2 MB / 239.9 MB, free: 5.379 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.378/2.378, allocations: 390.3 MB / 0.6653 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005142/0.0005144, allocations: 12 kB / 0.8146 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8295/0.8301, allocations: 142.3 MB / 0.9536 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.003928/0.8341, allocations: 3.946 MB / 0.9574 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001981/0.8361, allocations: 2.165 MB / 0.9595 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.336e-05/0.8362, allocations: 0 / 0.9595 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002174/0.8364, allocations: 40.73 kB / 0.9596 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001921/0.8366, allocations: 74.08 kB / 0.9597 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009622/0.8376, allocations: 435.2 kB / 0.9601 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001642/0.8377, allocations: 148.1 kB / 0.9602 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.251e-05/0.8378, allocations: 16.41 kB / 0.9602 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001716/0.838, allocations: 105.2 kB / 0.9603 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.8381, allocations: 70 kB / 0.9604 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.152e-05/0.8381, allocations: 6.875 kB / 0.9604 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006367/0.8388, allocations: 301 kB / 0.9607 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.998e-05/0.8389, allocations: 34.73 kB / 0.9607 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.368e-05/0.8389, allocations: 52.98 kB / 0.9608 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003671/0.8393, allocations: 211.6 kB / 0.961 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.8393, allocations: 3.938 kB / 0.961 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.804e-06/0.8393, allocations: 0 / 0.961 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.8393, allocations: 0.7188 kB / 0.961 GB, free: 2.344 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.0005993/0.8399, allocations: 478.1 kB / 0.9614 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.84, allocations: 9.188 kB / 0.9614 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.789e-05/0.84, allocations: 48.33 kB / 0.9615 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001437/0.8402, allocations: 33.48 kB / 0.9615 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001747/0.8404, allocations: 211 kB / 0.9617 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.8404, allocations: 11.58 kB / 0.9617 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.328e-05/0.8404, allocations: 13.5 kB / 0.9617 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003236/0.8407, allocations: 247.2 kB / 0.962 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.8408, allocations: 7.891 kB / 0.962 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.631e-05/0.8408, allocations: 7.469 kB / 0.962 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.568e-05/0.8408, allocations: 8.969 kB / 0.962 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004785/0.8413, allocations: 423.4 kB / 0.9624 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009072/0.8422, allocations: 0.9849 MB / 0.9634 GB, free: 232 kB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000286/0.8425, allocations: 166.5 kB / 0.9635 GB, free: 148 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001297/0.8438, allocations: 1.845 MB / 0.9653 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.8439, allocations: 33.03 kB / 0.9654 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.483e-06/0.8439, allocations: 1.312 kB / 0.9654 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0003181/0.8442, allocations: 139.8 kB / 0.9655 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/0.8442, allocations: 56.59 kB / 0.9655 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001533/0.8444, allocations: 174.5 kB / 0.9657 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.8444, allocations: 28.08 kB / 0.9657 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.81e-05/0.8445, allocations: 139.4 kB / 0.9659 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.023e-05/0.8446, allocations: 58.14 kB / 0.9659 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.056e-05/0.8446, allocations: 5.25 kB / 0.9659 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.8447, allocations: 330.2 kB / 0.9662 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.534e-05/0.8448, allocations: 32.73 kB / 0.9663 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001256/0.8449, allocations: 143.7 kB / 0.9664 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.575e-05/0.845, allocations: 50.88 kB / 0.9665 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.845, allocations: 5.406 kB / 0.9665 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003173/0.8453, allocations: 206.3 kB / 0.9667 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.8454, allocations: 7.812 kB / 0.9667 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.8454, allocations: 3.125 kB / 0.9667 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.8454, allocations: 10.78 kB / 0.9667 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001851/0.8456, allocations: 57.97 kB / 0.9667 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.8456, allocations: 6.562 kB / 0.9668 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001283/0.8457, allocations: 33.52 kB / 0.9668 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.858e-05/0.8458, allocations: 10.22 kB / 0.9668 GB, free: 12.81 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.00011/0.8459, allocations: 138.5 kB / 0.9669 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.603e-05/0.8459, allocations: 20.81 kB / 0.9669 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003262/0.8463, allocations: 162.8 kB / 0.9671 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.169e-05/0.8463, allocations: 1.406 kB / 0.9671 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.8463, allocations: 5.312 kB / 0.9671 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.8463, allocations: 3.984 kB / 0.9671 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000243/0.8465, allocations: 213.2 kB / 0.9673 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.8466, allocations: 1.094 kB / 0.9673 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001153/0.8467, allocations: 34.62 kB / 0.9673 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.8467, allocations: 1.312 kB / 0.9673 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.8467, allocations: 1.531 kB / 0.9674 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.8467, allocations: 1.469 kB / 0.9674 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.8467, allocations: 4 kB / 0.9674 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002318/0.847, allocations: 231.8 kB / 0.9676 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.487e-05/0.8471, allocations: 121.4 kB / 0.9677 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.525e-05/0.8471, allocations: 1.438 kB / 0.9677 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000219/0.8473, allocations: 20.77 kB / 0.9677 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.297e-05/0.8474, allocations: 12.45 kB / 0.9677 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.308e-05/0.8474, allocations: 10.95 kB / 0.9677 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.82e-05/0.8475, allocations: 123 kB / 0.9679 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8475, allocations: 0.75 kB / 0.9679 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004155/0.8479, allocations: 73.77 kB / 0.9679 GB, free: 11.85 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.0006278/0.8485, allocations: 0.8304 MB / 0.9687 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002245/0.8488, allocations: 119.7 kB / 0.9688 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.8488, allocations: 0.9375 kB / 0.9688 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 5.419e-05/0.8488, allocations: 43.92 kB / 0.9689 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004037/0.8493, allocations: 49.39 kB / 0.9689 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002325/0.8516, allocations: 3.271 MB / 0.9721 GB, free: 7.945 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/0.8519, allocations: 0.7179 MB / 0.9728 GB, free: 7.227 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000215/0.8521, allocations: 58.62 kB / 0.9729 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.638e-05/0.8522, allocations: 45.02 kB / 0.9729 GB, free: 7.156 MB / 0.7325 GB Notification: Performance of SimCode: time 4.61e-07/0.8522, allocations: 0 / 0.9729 GB, free: 7.156 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0558/0.908, allocations: 4.729 MB / 0.9776 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001782/0.9083, allocations: 163.4 kB / 0.9777 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.863/2.771, allocations: 0.9688 kB / 0.9777 GB, free: 4.625 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