Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.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.Fluid.Sources.Examples.PropertySource_T,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_PropertySource_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_T,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_PropertySource_T",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.279/2.279, allocations: 390.5 MB / 398 MB, free: 10.9 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.001165/0.001165, allocations: 180.8 kB / 491.2 MB, free: 1.547 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.539/1.539, allocations: 221.5 MB / 0.7868 GB, free: 13.3 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.00109/0.00109, allocations: 87.95 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.498e-05/2.54e-05, allocations: 7.984 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.2986, allocations: 143 MB / 1.212 GB, free: 39.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.124/5.423, allocations: 1.874 GB / 3.086 GB, free: 434.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003291/5.423, allocations: 87.61 kB / 3.087 GB, free: 434.2 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.974/7.397, allocations: 0.6015 GB / 3.688 GB, free: 271.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.963e-06/7.397, allocations: 0 / 3.688 GB, free: 271.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.301e-05/7.397, allocations: 23.59 kB / 3.688 GB, free: 271.5 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.002955/7.4, allocations: 1.122 MB / 3.689 GB, free: 270.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/7.4, allocations: 19.38 kB / 3.689 GB, free: 270.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00205/7.402, allocations: 286.6 kB / 3.689 GB, free: 270.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001143/7.403, allocations: 0.5603 MB / 3.69 GB, free: 269.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.921e-05/7.403, allocations: 28 kB / 3.69 GB, free: 269.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001642/7.403, allocations: 47.95 kB / 3.69 GB, free: 269.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008799/7.404, allocations: 475.8 kB / 3.691 GB, free: 269.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/7.405, allocations: 0.7332 MB / 3.691 GB, free: 268.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.516e-05/7.405, allocations: 7.547 kB / 3.691 GB, free: 268.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.968e-05/7.405, allocations: 4 kB / 3.691 GB, free: 268.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.093e-05/7.405, allocations: 33.3 kB / 3.691 GB, free: 268.3 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003398/7.409, allocations: 3.401 MB / 3.695 GB, free: 264.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002297/7.409, allocations: 163.7 kB / 3.695 GB, free: 264.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001298/7.409, allocations: 113.4 kB / 3.695 GB, free: 264.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005442/7.41, allocations: 398.7 kB / 3.695 GB, free: 264 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/7.41, allocations: 34.56 kB / 3.695 GB, free: 263.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=19): time 2.284e-06/7.41, allocations: 2.688 kB / 3.695 GB, free: 263.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=19): time 0.001026/7.411, allocations: 293.1 kB / 3.696 GB, free: 263.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/7.411, allocations: 109 kB / 3.696 GB, free: 263.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000389/7.411, allocations: 347.4 kB / 3.696 GB, free: 263.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.333e-05/7.411, allocations: 25.7 kB / 3.696 GB, free: 263.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002067/7.412, allocations: 424.4 kB / 3.696 GB, free: 262.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 5.137e-05/7.412, allocations: 62.55 kB / 3.696 GB, free: 262.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.396e-05/7.412, allocations: 4 kB / 3.696 GB, free: 262.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.5e-05/7.412, allocations: 358.7 kB / 3.697 GB, free: 262.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/7.412, allocations: 75.97 kB / 3.697 GB, free: 262.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001783/7.412, allocations: 209.3 kB / 3.697 GB, free: 262 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002888/7.412, allocations: 132.9 kB / 3.697 GB, free: 261.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/7.412, allocations: 4 kB / 3.697 GB, free: 261.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005382/7.413, allocations: 345.1 kB / 3.698 GB, free: 261.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/7.413, allocations: 4 kB / 3.698 GB, free: 261.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/7.413, allocations: 4 kB / 3.698 GB, free: 261.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/7.413, allocations: 4 kB / 3.698 GB, free: 261.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002962/7.413, allocations: 63.28 kB / 3.698 GB, free: 261.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.819e-06/7.413, allocations: 4 kB / 3.698 GB, free: 261.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004715/7.414, allocations: 53.8 kB / 3.698 GB, free: 261.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.374e-05/7.414, allocations: 27.92 kB / 3.698 GB, free: 261.4 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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 9.685e-05/7.414, allocations: 112.9 kB / 3.698 GB, free: 261.3 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004479/7.414, allocations: 238.5 kB / 3.698 GB, free: 261 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.395e-05/7.414, allocations: 51.16 kB / 3.698 GB, free: 261 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004409/7.415, allocations: 245.2 kB / 3.698 GB, free: 260.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/7.415, allocations: 4 kB / 3.698 GB, free: 260.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/7.415, allocations: 96 / 3.698 GB, free: 260.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/7.415, allocations: 7.891 kB / 3.698 GB, free: 260.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001585/7.417, allocations: 1.175 MB / 3.699 GB, free: 259.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/7.417, allocations: 4 kB / 3.699 GB, free: 259.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001829/7.417, allocations: 43 kB / 3.7 GB, free: 259.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/7.417, allocations: 11.94 kB / 3.7 GB, free: 259.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/7.417, allocations: 4 kB / 3.7 GB, free: 259.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/7.417, allocations: 8 kB / 3.7 GB, free: 259.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/7.417, allocations: 4 kB / 3.7 GB, free: 259.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005374/7.417, allocations: 0.6106 MB / 3.7 GB, free: 258.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001656/7.418, allocations: 136.5 kB / 3.7 GB, free: 258.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.734e-05/7.418, allocations: 7.938 kB / 3.7 GB, free: 258.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003279/7.418, allocations: 35.56 kB / 3.7 GB, free: 258.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.865e-05/7.418, allocations: 23.94 kB / 3.7 GB, free: 258.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/7.418, allocations: 15.98 kB / 3.7 GB, free: 258.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0002223/7.418, allocations: 270.6 kB / 3.701 GB, free: 258.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.21e-07/7.418, allocations: 0 / 3.701 GB, free: 258.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001073/7.419, allocations: 318.7 kB / 3.701 GB, free: 257.8 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.003795/7.423, allocations: 4.292 MB / 3.705 GB, free: 253.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0003576/7.424, allocations: 203.2 kB / 3.705 GB, free: 253.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/7.424, allocations: 8 kB / 3.705 GB, free: 253.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000131/7.424, allocations: 91.78 kB / 3.705 GB, free: 253.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009359/7.425, allocations: 174.9 kB / 3.706 GB, free: 253.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001925/7.427, allocations: 1.018 MB / 3.707 GB, free: 252.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004731/7.427, allocations: 1.013 MB / 3.708 GB, free: 251.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0004617/7.428, allocations: 100.8 kB / 3.708 GB, free: 251.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002584/7.428, allocations: 247.3 kB / 3.708 GB, free: 250.9 MB / 1.151 GB Notification: Performance of SimCode: time 7.72e-07/7.428, allocations: 0 / 3.708 GB, free: 250.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0576/7.485, allocations: 26.39 MB / 3.734 GB, free: 225 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001769/7.486, allocations: 174.2 kB / 3.734 GB, free: 224.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.798/10.28, allocations: 0 / 3.734 GB, free: 224.8 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_PropertySource_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_PropertySource_T.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T_res.mat does not exist to compare? outputFormat=mat