Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.WaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.539/2.539, allocations: 393.5 MB / 408.4 MB, free: 11.05 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 168 kB / 0.4901 GB, free: 2.238 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.986/1.986, allocations: 223.1 MB / 0.7992 GB, free: 14.73 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009422/0.0009417, allocations: 95.95 kB / 0.9396 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003647/0.0003648, allocations: 10.84 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.3091, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.962/1.271, allocations: 393.2 MB / 1.613 GB, free: 4.043 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003147/1.272, allocations: 78.83 kB / 1.613 GB, free: 4 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 0.04763/1.319, allocations: 20.21 MB / 1.633 GB, free: 3.52 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.623e-06/1.319, allocations: 4 kB / 1.633 GB, free: 3.516 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.983e-06/1.319, allocations: 0 / 1.633 GB, free: 3.516 MB / 0.948 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.0006312/1.32, allocations: 488 kB / 1.634 GB, free: 3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/1.32, allocations: 8.562 kB / 1.634 GB, free: 2.992 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.754e-05/1.32, allocations: 52.98 kB / 1.634 GB, free: 2.941 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001622/1.32, allocations: 23.77 kB / 1.634 GB, free: 2.918 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002359/1.32, allocations: 221 kB / 1.634 GB, free: 2.672 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/1.321, allocations: 12.02 kB / 1.634 GB, free: 2.664 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.211e-05/1.321, allocations: 22.36 kB / 1.634 GB, free: 2.648 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000333/1.321, allocations: 238 kB / 1.634 GB, free: 2.453 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/1.321, allocations: 0 / 1.634 GB, free: 2.453 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.102e-05/1.321, allocations: 11 kB / 1.634 GB, free: 2.449 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.917e-05/1.321, allocations: 11.94 kB / 1.634 GB, free: 2.438 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004177/1.321, allocations: 434.9 kB / 1.635 GB, free: 2.082 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009957/1.322, allocations: 0.9842 MB / 1.635 GB, free: 1.109 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002795/1.323, allocations: 156.9 kB / 1.636 GB, free: 0.9805 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00121/1.324, allocations: 1.851 MB / 1.637 GB, free: 14.82 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/1.324, allocations: 38.5 kB / 1.637 GB, free: 14.77 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=15): time 1.273e-06/1.324, allocations: 0 / 1.637 GB, free: 14.77 MB / 0.9636 GB Notification: Performance of matching and sorting (n=15): time 0.0003163/1.324, allocations: 137.4 kB / 1.638 GB, free: 14.65 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.399e-05/1.324, allocations: 58.72 kB / 1.638 GB, free: 14.59 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/1.324, allocations: 151.2 kB / 1.638 GB, free: 14.45 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/1.324, allocations: 32.89 kB / 1.638 GB, free: 14.41 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.697e-05/1.325, allocations: 142 kB / 1.638 GB, free: 14.28 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 4.023e-05/1.325, allocations: 57.25 kB / 1.638 GB, free: 14.23 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.814e-06/1.325, allocations: 3.5 kB / 1.638 GB, free: 14.23 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.000102/1.325, allocations: 325.1 kB / 1.638 GB, free: 13.91 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.127e-05/1.325, allocations: 34.8 kB / 1.638 GB, free: 13.88 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001188/1.325, allocations: 142.1 kB / 1.639 GB, free: 13.71 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.984e-05/1.325, allocations: 56.64 kB / 1.639 GB, free: 13.67 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/1.325, allocations: 0 / 1.639 GB, free: 13.67 MB / 0.9636 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002985/1.325, allocations: 214.5 kB / 1.639 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/1.325, allocations: 15.89 kB / 1.639 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/1.325, allocations: 4 kB / 1.639 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/1.325, allocations: 4.469 kB / 1.639 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001804/1.326, allocations: 71.84 kB / 1.639 GB, free: 13.39 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/1.326, allocations: 7.938 kB / 1.639 GB, free: 13.39 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001181/1.326, allocations: 23.5 kB / 1.639 GB, free: 13.37 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.009e-05/1.326, allocations: 15.98 kB / 1.639 GB, free: 13.35 MB / 0.9636 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.0001111/1.326, allocations: 129.8 kB / 1.639 GB, free: 13.22 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.303e-05/1.326, allocations: 14.91 kB / 1.639 GB, free: 13.21 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002904/1.326, allocations: 163 kB / 1.639 GB, free: 13.07 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/1.326, allocations: 4 kB / 1.639 GB, free: 13.07 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/1.326, allocations: 0 / 1.639 GB, free: 13.07 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/1.326, allocations: 3.984 kB / 1.639 GB, free: 13.06 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002439/1.327, allocations: 214.3 kB / 1.639 GB, free: 12.82 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/1.327, allocations: 3.938 kB / 1.639 GB, free: 12.82 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/1.327, allocations: 30.72 kB / 1.639 GB, free: 12.79 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/1.327, allocations: 4 kB / 1.639 GB, free: 12.79 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/1.327, allocations: 0 / 1.639 GB, free: 12.79 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/1.327, allocations: 3.953 kB / 1.639 GB, free: 12.78 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/1.327, allocations: 0 / 1.639 GB, free: 12.78 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002263/1.327, allocations: 235 kB / 1.64 GB, free: 12.56 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 9.639e-05/1.327, allocations: 116.7 kB / 1.64 GB, free: 12.43 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.414e-05/1.327, allocations: 3.938 kB / 1.64 GB, free: 12.43 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002069/1.327, allocations: 15.98 kB / 1.64 GB, free: 12.42 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.811e-05/1.327, allocations: 19.92 kB / 1.64 GB, free: 12.4 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.291e-05/1.327, allocations: 11.73 kB / 1.64 GB, free: 12.39 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 8.183e-05/1.327, allocations: 124.1 kB / 1.64 GB, free: 12.28 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.3e-07/1.327, allocations: 0 / 1.64 GB, free: 12.28 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0004093/1.328, allocations: 87.55 kB / 1.64 GB, free: 12.21 MB / 0.9636 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.0007193/1.329, allocations: 0.8347 MB / 1.641 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002179/1.329, allocations: 119.5 kB / 1.641 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/1.329, allocations: 3.938 kB / 1.641 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.721e-05/1.329, allocations: 39.42 kB / 1.641 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/1.329, allocations: 62.95 kB / 1.641 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002173/1.331, allocations: 3.258 MB / 1.644 GB, free: 7.922 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002657/1.332, allocations: 0.7211 MB / 1.645 GB, free: 7.172 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001862/1.332, allocations: 49.73 kB / 1.645 GB, free: 7.121 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.46e-05/1.332, allocations: 45.48 kB / 1.645 GB, free: 7.098 MB / 0.9636 GB Notification: Performance of SimCode: time 2.51e-07/1.332, allocations: 0 / 1.645 GB, free: 7.098 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01848/1.35, allocations: 5.115 MB / 1.65 GB, free: 2.121 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002102/1.351, allocations: 177.9 kB / 1.65 GB, free: 1.871 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.803/3.154, allocations: 0 / 1.65 GB, free: 1.871 MB / 0.9636 GB (rm -f Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.WaterProperties_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_WaterProperties.fmu > Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Media.Examples.WaterProperties_res.mat does not exist to compare? outputFormat=mat