Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.297/1.297, allocations: 251.5 MB / 266.7 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009898/0.0009898, allocations: 165.8 kB / 325.8 MB, free: 2.695 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.602/1.602, allocations: 205 MB / 0.576 GB, free: 21.01 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007865/0.0007869, allocations: 94.22 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003449/0.0003449, allocations: 10.28 kB / 0.7932 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2512/0.2516, allocations: 105.4 MB / 0.8962 GB, free: 68.1 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.7716/1.023, allocations: 192.7 MB / 1.084 GB, free: 1.582 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01653/1.04, allocations: 14.47 MB / 1.099 GB, free: 1.301 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001591/1.041, allocations: 30.06 kB / 1.099 GB, free: 1.301 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001576/1.043, allocations: 420.5 kB / 1.099 GB, free: 1.293 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.005407/1.048, allocations: 1.778 MB / 1.101 GB, free: 1.203 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002551/1.051, allocations: 0.7881 MB / 1.101 GB, free: 1.176 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.00424/1.055, allocations: 3.663 MB / 1.105 GB, free: 1.172 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001288/1.057, allocations: 0.8995 MB / 1.106 GB, free: 1.016 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003693/1.06, allocations: 1.356 MB / 1.107 GB, free: 0.9922 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002262/1.063, allocations: 0.9339 MB / 1.108 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001491/1.063, allocations: 52.97 kB / 1.108 GB, free: 0.9844 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002902/1.066, allocations: 1.241 MB / 1.109 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000534/1.066, allocations: 453.2 kB / 1.11 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0007897/1.067, allocations: 0.5633 MB / 1.11 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002643/1.07, allocations: 1.907 MB / 1.112 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/1.07, allocations: 0 / 1.112 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.963e-06/1.07, allocations: 2.906 kB / 1.112 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.744e-05/1.07, allocations: 0 / 1.112 GB, free: 0.8555 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.0019/1.072, allocations: 1.235 MB / 1.113 GB, free: 16.1 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/1.072, allocations: 8.594 kB / 1.113 GB, free: 16.1 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001622/1.072, allocations: 145.5 kB / 1.114 GB, free: 16.06 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001252/1.073, allocations: 257 kB / 1.114 GB, free: 16 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001516/1.075, allocations: 0.8342 MB / 1.115 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.663e-05/1.075, allocations: 73.44 kB / 1.115 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001448/1.075, allocations: 93.44 kB / 1.115 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001734/1.077, allocations: 1.181 MB / 1.116 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.274e-05/1.077, allocations: 8.734 kB / 1.116 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.096e-05/1.077, allocations: 42.22 kB / 1.116 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.22e-05/1.077, allocations: 37.52 kB / 1.116 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001317/1.078, allocations: 0.9165 MB / 1.117 GB, free: 15.42 MB / 0.7136 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.005675/1.084, allocations: 5.729 MB / 1.123 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007919/1.085, allocations: 0.5443 MB / 1.123 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004765/1.085, allocations: 328.9 kB / 1.123 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005824/1.086, allocations: 324 kB / 1.124 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.168e-05/1.086, allocations: 43.8 kB / 1.124 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=51): time 3.086e-06/1.086, allocations: 0 / 1.124 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of matching and sorting (n=51): time 0.00151/1.087, allocations: 0.8143 MB / 1.125 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.475e-05/1.087, allocations: 89.55 kB / 1.125 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008808/1.088, allocations: 0.7444 MB / 1.125 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.309e-05/1.088, allocations: 36.95 kB / 1.125 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003711/1.089, allocations: 0.4958 MB / 1.126 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001922/1.089, allocations: 189.5 kB / 1.126 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.455e-05/1.089, allocations: 61.14 kB / 1.126 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000179/1.089, allocations: 394.3 kB / 1.127 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000344/1.089, allocations: 256.8 kB / 1.127 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006043/1.09, allocations: 0.5554 MB / 1.127 GB, free: 9.816 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009641/1.091, allocations: 0.8027 MB / 1.128 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/1.091, allocations: 3.531 kB / 1.128 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001528/1.093, allocations: 0.8514 MB / 1.129 GB, free: 9.434 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.033e-05/1.093, allocations: 10.91 kB / 1.129 GB, free: 9.434 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.137e-05/1.093, allocations: 8.094 kB / 1.129 GB, free: 9.434 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.387e-05/1.093, allocations: 11.59 kB / 1.129 GB, free: 9.434 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006724/1.093, allocations: 158.8 kB / 1.129 GB, free: 9.434 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.355e-05/1.093, allocations: 21.61 kB / 1.129 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009723/1.094, allocations: 144.9 kB / 1.129 GB, free: 9.379 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.653e-05/1.095, allocations: 32.12 kB / 1.129 GB, free: 9.379 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (89): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006017/1.095, allocations: 335.9 kB / 1.13 GB, free: 9.258 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001994/1.095, allocations: 84.91 kB / 1.13 GB, free: 9.215 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001099/1.096, allocations: 0.6299 MB / 1.13 GB, free: 9.152 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/1.096, allocations: 5.953 kB / 1.13 GB, free: 9.152 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/1.096, allocations: 10.5 kB / 1.13 GB, free: 9.145 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007687/1.097, allocations: 0.5172 MB / 1.131 GB, free: 9.074 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002749/1.1, allocations: 1.77 MB / 1.133 GB, free: 8.605 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/1.1, allocations: 2.906 kB / 1.133 GB, free: 8.605 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004932/1.101, allocations: 115.8 kB / 1.133 GB, free: 8.605 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/1.101, allocations: 5.281 kB / 1.133 GB, free: 8.605 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.457e-05/1.101, allocations: 13.5 kB / 1.133 GB, free: 8.605 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/1.101, allocations: 3.25 kB / 1.133 GB, free: 8.605 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/1.101, allocations: 2.781 kB / 1.133 GB, free: 8.605 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001295/1.102, allocations: 1.092 MB / 1.134 GB, free: 8.34 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004067/1.102, allocations: 231.5 kB / 1.134 GB, free: 8.199 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/1.102, allocations: 13.31 kB / 1.134 GB, free: 8.199 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005591/1.103, allocations: 72.03 kB / 1.134 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.842e-05/1.103, allocations: 35.05 kB / 1.134 GB, free: 8.184 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-05/1.103, allocations: 21.59 kB / 1.134 GB, free: 8.184 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0005924/1.104, allocations: 0.5143 MB / 1.135 GB, free: 8.086 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/1.104, allocations: 0 / 1.135 GB, free: 8.086 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0009434/1.105, allocations: 306.2 kB / 1.135 GB, free: 8.047 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.dynBal.mC[1]) * 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 (51): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001806/1.107, allocations: 1.712 MB / 1.137 GB, free: 7.25 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000952/1.107, allocations: 0.6175 MB / 1.137 GB, free: 7.238 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/1.107, allocations: 0 / 1.137 GB, free: 7.238 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003633/1.108, allocations: 285.9 kB / 1.137 GB, free: 7.23 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002231/1.11, allocations: 446.6 kB / 1.138 GB, free: 7.188 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0113/1.121, allocations: 7.836 MB / 1.146 GB, free: 3.645 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007099/1.122, allocations: 1.12 MB / 1.147 GB, free: 2.926 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001072/1.123, allocations: 278.1 kB / 1.147 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004528/1.124, allocations: 360.1 kB / 1.147 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of SimCode: time 1.162e-06/1.124, allocations: 0 / 1.147 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2297/1.353, allocations: 22.34 MB / 1.169 GB, free: 2.953 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002034/1.354, allocations: 246.5 kB / 1.169 GB, free: 2.703 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.544/3.898, allocations: 5.812 kB / 1.169 GB, free: 2.699 MB / 0.7292 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_TraceSubstances_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_TraceSubstances.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)