Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.272/2.272, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.001191/0.001191, allocations: 184.8 kB / 487.4 MB, free: 5.051 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.482/1.482, allocations: 221.5 MB / 0.7824 GB, free: 0.9219 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009151/0.0009153, allocations: 107.6 kB / 0.9219 GB, free: 2.148 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.864e-05/1.865e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2597/0.2597, allocations: 142.4 MB / 1.206 GB, free: 43.83 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.859/5.119, allocations: 1.972 GB / 3.178 GB, free: 320.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002552/5.12, allocations: 92.5 kB / 3.178 GB, free: 320.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.83/6.95, allocations: 0.6589 GB / 3.837 GB, free: 103.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.235e-06/6.95, allocations: 0 / 3.837 GB, free: 103.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.326e-05/6.95, allocations: 28 kB / 3.837 GB, free: 103.8 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.002593/6.953, allocations: 1.333 MB / 3.838 GB, free: 102.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/6.953, allocations: 12.03 kB / 3.838 GB, free: 102.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00125/6.954, allocations: 246.3 kB / 3.839 GB, free: 102.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002006/6.956, allocations: 1.113 MB / 3.84 GB, free: 101 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.178e-05/6.956, allocations: 28 kB / 3.84 GB, free: 101 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/6.956, allocations: 59.94 kB / 3.84 GB, free: 100.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001087/6.957, allocations: 0.7536 MB / 3.841 GB, free: 100.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001279/6.958, allocations: 0.991 MB / 3.842 GB, free: 99.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.833e-05/6.959, allocations: 7.938 kB / 3.842 GB, free: 99.09 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.823e-05/6.959, allocations: 0 / 3.842 GB, free: 99.09 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.671e-05/6.959, allocations: 34 kB / 3.842 GB, free: 99.05 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.003901/6.963, allocations: 5.508 MB / 3.847 GB, free: 93.11 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006259/6.963, allocations: 0.5152 MB / 3.847 GB, free: 92.59 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003358/6.964, allocations: 294.6 kB / 3.848 GB, free: 92.29 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004522/6.964, allocations: 311.8 kB / 3.848 GB, free: 91.93 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/6.964, allocations: 42.98 kB / 3.848 GB, free: 91.88 MB / 1.151 GB Notification: Performance of pre-optimization done (n=49): time 1.532e-06/6.964, allocations: 4 kB / 3.848 GB, free: 91.88 MB / 1.151 GB Notification: Performance of matching and sorting (n=49): time 0.001035/6.965, allocations: 0.5771 MB / 3.849 GB, free: 91.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.553e-05/6.965, allocations: 63.8 kB / 3.849 GB, free: 91.22 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005393/6.966, allocations: 0.5115 MB / 3.849 GB, free: 90.71 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.563e-05/6.966, allocations: 29.7 kB / 3.849 GB, free: 90.67 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000266/6.966, allocations: 0.5063 MB / 3.85 GB, free: 90.16 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000123/6.966, allocations: 169.5 kB / 3.85 GB, free: 89.99 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.619e-05/6.966, allocations: 0 / 3.85 GB, free: 89.99 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001236/6.966, allocations: 386.8 kB / 3.85 GB, free: 89.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002727/6.967, allocations: 221.5 kB / 3.85 GB, free: 89.38 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004484/6.967, allocations: 0.5492 MB / 3.851 GB, free: 88.68 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004963/6.968, allocations: 356.4 kB / 3.851 GB, free: 88.34 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/6.968, allocations: 0 / 3.851 GB, free: 88.34 MB / 1.151 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001021/6.969, allocations: 0.7726 MB / 3.852 GB, free: 87.55 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/6.969, allocations: 11.98 kB / 3.852 GB, free: 87.54 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/6.969, allocations: 8 kB / 3.852 GB, free: 87.54 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.23e-05/6.969, allocations: 12 kB / 3.852 GB, free: 87.52 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004957/6.969, allocations: 151.8 kB / 3.852 GB, free: 87.38 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.779e-05/6.969, allocations: 15.94 kB / 3.852 GB, free: 87.36 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000937/6.97, allocations: 123.5 kB / 3.852 GB, free: 87.24 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.039e-05/6.97, allocations: 36 kB / 3.852 GB, free: 87.2 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * 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.0001589/6.97, allocations: 128.7 kB / 3.853 GB, free: 87.07 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007832/6.971, allocations: 0.5498 MB / 3.853 GB, free: 86.52 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.487e-05/6.971, allocations: 79.06 kB / 3.853 GB, free: 86.44 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009738/6.972, allocations: 0.5817 MB / 3.854 GB, free: 85.84 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/6.972, allocations: 4 kB / 3.854 GB, free: 85.84 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/6.972, allocations: 3.953 kB / 3.854 GB, free: 85.84 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006349/6.973, allocations: 0.5094 MB / 3.854 GB, free: 85.32 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002221/6.975, allocations: 1.529 MB / 3.856 GB, free: 83.72 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/6.975, allocations: 3.953 kB / 3.856 GB, free: 83.72 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004978/6.976, allocations: 107.9 kB / 3.856 GB, free: 83.61 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.049e-05/6.976, allocations: 7.938 kB / 3.856 GB, free: 83.61 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.763e-05/6.976, allocations: 15.92 kB / 3.856 GB, free: 83.59 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/6.976, allocations: 4 kB / 3.856 GB, free: 83.59 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/6.976, allocations: 4 kB / 3.856 GB, free: 83.58 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/6.977, allocations: 1.06 MB / 3.857 GB, free: 82.44 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003148/6.977, allocations: 220 kB / 3.857 GB, free: 82.21 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.47e-05/6.977, allocations: 4 kB / 3.857 GB, free: 82.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005461/6.978, allocations: 55.84 kB / 3.857 GB, free: 82.15 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.421e-05/6.978, allocations: 31.97 kB / 3.857 GB, free: 82.12 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.11e-05/6.978, allocations: 19.98 kB / 3.857 GB, free: 82.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.000405/6.979, allocations: 399.1 kB / 3.858 GB, free: 81.71 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/6.979, allocations: 0 / 3.858 GB, free: 81.71 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001494/6.98, allocations: 423 kB / 3.858 GB, free: 81.3 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,vol.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 49 * 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.004928/6.985, allocations: 4.109 MB / 3.862 GB, free: 77.03 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0009976/6.986, allocations: 0.552 MB / 3.863 GB, free: 76.48 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/6.986, allocations: 0 / 3.863 GB, free: 76.48 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002746/6.986, allocations: 255.7 kB / 3.863 GB, free: 76.23 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002023/6.988, allocations: 373.2 kB / 3.863 GB, free: 75.88 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003151/6.992, allocations: 1.726 MB / 3.865 GB, free: 74.09 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000494/6.992, allocations: 1.141 MB / 3.866 GB, free: 72.93 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0007888/6.993, allocations: 254.5 kB / 3.866 GB, free: 72.67 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003739/6.993, allocations: 363.3 kB / 3.867 GB, free: 72.32 MB / 1.151 GB Notification: Performance of SimCode: time 7.82e-07/6.993, allocations: 0 / 3.867 GB, free: 72.32 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06162/7.055, allocations: 34.41 MB / 3.9 GB, free: 38.09 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001782/7.055, allocations: 170.8 kB / 3.9 GB, free: 37.89 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.179/10.23, allocations: 0 / 3.9 GB, free: 37.89 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_TraceSubstances_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_TraceSubstances.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.mat does not exist to compare? outputFormat=mat