Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 181.1 kB / 8.007 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5233/0.5233, allocations: 90.91 MB / 99.34 MB, free: 2.215 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.582/1.582, allocations: 221.5 MB / 343.2 MB, free: 1.578 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008913/0.0008917, allocations: 107.2 kB / 416 MB, free: 11.11 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.16e-05/2.162e-05, allocations: 4 kB / 494.6 MB, free: 52.33 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1521, allocations: 72.31 MB / 0.5536 GB, free: 12.21 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.599/4.751, allocations: 1.925 GB / 2.479 GB, free: 6.176 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002711/4.751, allocations: 87.95 kB / 2.479 GB, free: 6.09 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.466/7.217, allocations: 0.6588 GB / 3.138 GB, free: 49.39 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.995e-06/7.217, allocations: 4 kB / 3.138 GB, free: 49.39 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001626/7.217, allocations: 31.72 kB / 3.138 GB, free: 49.36 MB / 0.6042 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.004325/7.222, allocations: 1.328 MB / 3.139 GB, free: 47.99 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/7.222, allocations: 8.031 kB / 3.139 GB, free: 47.98 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002119/7.224, allocations: 254.3 kB / 3.14 GB, free: 47.73 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003663/7.227, allocations: 1.109 MB / 3.141 GB, free: 46.58 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.56e-05/7.227, allocations: 28 kB / 3.141 GB, free: 46.55 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003246/7.228, allocations: 62.94 kB / 3.141 GB, free: 46.49 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002065/7.23, allocations: 0.7575 MB / 3.141 GB, free: 45.73 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002043/7.232, allocations: 0.9705 MB / 3.142 GB, free: 44.69 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.192e-05/7.232, allocations: 11.94 kB / 3.142 GB, free: 44.68 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.465e-05/7.232, allocations: 4 kB / 3.142 GB, free: 44.68 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-05/7.232, allocations: 30 kB / 3.142 GB, free: 44.65 MB / 0.6042 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.006326/7.238, allocations: 5.516 MB / 3.148 GB, free: 38.69 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007188/7.239, allocations: 0.5076 MB / 3.148 GB, free: 38.18 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003655/7.24, allocations: 296.5 kB / 3.149 GB, free: 37.89 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005322/7.24, allocations: 311.8 kB / 3.149 GB, free: 37.53 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/7.24, allocations: 39 kB / 3.149 GB, free: 37.48 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=49): time 2.465e-06/7.24, allocations: 0 / 3.149 GB, free: 37.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=49): time 0.001461/7.242, allocations: 0.5732 MB / 3.149 GB, free: 36.9 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.469e-05/7.242, allocations: 63.84 kB / 3.15 GB, free: 36.83 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007637/7.243, allocations: 0.5231 MB / 3.15 GB, free: 36.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.39e-05/7.243, allocations: 25.7 kB / 3.15 GB, free: 36.27 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003412/7.243, allocations: 0.5063 MB / 3.151 GB, free: 35.75 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001635/7.243, allocations: 173.5 kB / 3.151 GB, free: 35.58 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.873e-05/7.243, allocations: 0 / 3.151 GB, free: 35.58 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001224/7.243, allocations: 382.8 kB / 3.151 GB, free: 35.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002803/7.244, allocations: 221.5 kB / 3.151 GB, free: 34.98 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004867/7.244, allocations: 0.5452 MB / 3.152 GB, free: 34.29 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000554/7.245, allocations: 365 kB / 3.152 GB, free: 33.93 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.014e-06/7.245, allocations: 4 kB / 3.152 GB, free: 33.93 MB / 0.6042 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001227/7.246, allocations: 0.7687 MB / 3.153 GB, free: 33.15 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.815e-05/7.246, allocations: 12.22 kB / 3.153 GB, free: 33.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/7.246, allocations: 8 kB / 3.153 GB, free: 33.13 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.631e-05/7.246, allocations: 12 kB / 3.153 GB, free: 33.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005725/7.247, allocations: 155.8 kB / 3.153 GB, free: 32.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.905e-05/7.247, allocations: 15.98 kB / 3.153 GB, free: 32.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001111/7.248, allocations: 123.4 kB / 3.153 GB, free: 32.83 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.342e-05/7.248, allocations: 36 kB / 3.153 GB, free: 32.79 MB / 0.6042 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.0001543/7.248, allocations: 135.1 kB / 3.153 GB, free: 32.66 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008419/7.249, allocations: 0.5497 MB / 3.154 GB, free: 32.1 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001443/7.249, allocations: 75.06 kB / 3.154 GB, free: 32.03 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009925/7.25, allocations: 0.5896 MB / 3.155 GB, free: 31.42 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/7.25, allocations: 4 kB / 3.155 GB, free: 31.41 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/7.25, allocations: 0 / 3.155 GB, free: 31.41 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006236/7.251, allocations: 0.5016 MB / 3.155 GB, free: 30.9 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002578/7.253, allocations: 1.536 MB / 3.157 GB, free: 29.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/7.253, allocations: 0 / 3.157 GB, free: 29.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005205/7.254, allocations: 112.1 kB / 3.157 GB, free: 29.19 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.128e-05/7.254, allocations: 8 kB / 3.157 GB, free: 29.18 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.41e-05/7.254, allocations: 8 kB / 3.157 GB, free: 29.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.753e-06/7.254, allocations: 4 kB / 3.157 GB, free: 29.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/7.254, allocations: 4 kB / 3.157 GB, free: 29.17 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001242/7.255, allocations: 1.064 MB / 3.158 GB, free: 28.02 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004324/7.256, allocations: 212.1 kB / 3.158 GB, free: 27.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001668/7.256, allocations: 8 kB / 3.158 GB, free: 27.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006934/7.256, allocations: 63.73 kB / 3.158 GB, free: 27.72 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.449e-05/7.256, allocations: 39.89 kB / 3.158 GB, free: 27.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.57e-05/7.257, allocations: 16 kB / 3.158 GB, free: 27.67 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005102/7.257, allocations: 399.1 kB / 3.158 GB, free: 27.29 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/7.257, allocations: 0 / 3.158 GB, free: 27.29 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00169/7.259, allocations: 415.2 kB / 3.159 GB, free: 26.88 MB / 0.6042 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.004601/7.263, allocations: 4.098 MB / 3.163 GB, free: 22.64 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009771/7.264, allocations: 0.5567 MB / 3.163 GB, free: 22.09 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/7.264, allocations: 0 / 3.163 GB, free: 22.09 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002966/7.265, allocations: 255.9 kB / 3.164 GB, free: 21.84 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002079/7.267, allocations: 359.4 kB / 3.164 GB, free: 21.48 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004251/7.271, allocations: 1.737 MB / 3.166 GB, free: 19.69 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007525/7.272, allocations: 1.141 MB / 3.167 GB, free: 18.52 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001152/7.273, allocations: 262.4 kB / 3.167 GB, free: 18.26 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006083/7.274, allocations: 355.3 kB / 3.167 GB, free: 17.91 MB / 0.6042 GB Notification: Performance of SimCode: time 2.124e-06/7.274, allocations: 0 / 3.167 GB, free: 17.91 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.556/7.83, allocations: 34.4 MB / 3.201 GB, free: 103.6 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001819/7.83, allocations: 164 kB / 3.201 GB, free: 103.4 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.16/10.99, allocations: 0 / 3.201 GB, free: 103.4 MB / 0.6198 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TraceSubstances_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TraceSubstances.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)