Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances") translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 106.5 kB / 16.36 MB, free: 6.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 189.7 kB / 17.3 MB, free: 5.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.27/1.27, allocations: 205.1 MB / 223.2 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.775/1.775, allocations: 292.3 MB / 0.5496 GB, free: 17.53 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001567, allocations: 71.91 kB / 0.6729 GB, free: 5.816 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1949/0.1964, allocations: 114.6 MB / 0.7848 GB, free: 3.145 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.5059/0.7024, allocations: 195.1 MB / 0.9753 GB, free: 6.969 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0161/0.7185, allocations: 14.3 MB / 0.9893 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001108/0.7197, allocations: 35.81 kB / 0.9893 GB, free: 8.613 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001308/0.721, allocations: 0.4929 MB / 0.9898 GB, free: 8.117 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.004012/0.725, allocations: 1.878 MB / 0.9916 GB, free: 6.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.002038/0.7271, allocations: 0.8645 MB / 0.9925 GB, free: 5.371 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.002758/0.7299, allocations: 2.55 MB / 0.9949 GB, free: 2.816 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001218/0.7311, allocations: 1.121 MB / 0.996 GB, free: 1.676 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00333/0.7344, allocations: 1.599 MB / 0.9976 GB, free: 100 kB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001231/0.7357, allocations: 0.9146 MB / 0.9985 GB, free: 15.18 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001468/0.7358, allocations: 112 kB / 0.9986 GB, free: 15.07 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001923/0.7378, allocations: 1.104 MB / 0.9997 GB, free: 13.97 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0004456/0.7382, allocations: 0.4948 MB / 1 GB, free: 13.47 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0006158/0.7388, allocations: 0.63 MB / 1.001 GB, free: 12.84 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.002015/0.7409, allocations: 1.912 MB / 1.003 GB, free: 10.92 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.7409, allocations: 4 kB / 1.003 GB, free: 10.92 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.112e-06/0.7409, allocations: 0 / 1.003 GB, free: 10.92 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.571e-05/0.7409, allocations: 0 / 1.003 GB, free: 10.92 MB / 0.795 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.001998/0.7429, allocations: 1.444 MB / 1.004 GB, free: 9.422 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.743, allocations: 11.97 kB / 1.004 GB, free: 9.41 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001295/0.7443, allocations: 250.4 kB / 1.004 GB, free: 9.164 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/0.7455, allocations: 0.7882 MB / 1.005 GB, free: 8.332 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.18e-05/0.7455, allocations: 66.88 kB / 1.005 GB, free: 8.266 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000136/0.7457, allocations: 96 kB / 1.005 GB, free: 8.172 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001595/0.7473, allocations: 1.176 MB / 1.006 GB, free: 6.926 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.448e-05/0.7473, allocations: 5.125 kB / 1.006 GB, free: 6.922 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-05/0.7474, allocations: 39.94 kB / 1.006 GB, free: 6.883 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.838e-05/0.7474, allocations: 34 kB / 1.006 GB, free: 6.848 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001316/0.7488, allocations: 0.8976 MB / 1.007 GB, free: 5.953 MB / 0.795 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.005093/0.7539, allocations: 5.734 MB / 1.013 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007491/0.7546, allocations: 0.5299 MB / 1.013 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004126/0.755, allocations: 318.6 kB / 1.014 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005781/0.7556, allocations: 311.7 kB / 1.014 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.7557, allocations: 42.94 kB / 1.014 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=49): time 1.045e-05/0.7557, allocations: 4 kB / 1.014 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of matching and sorting (n=49): time 0.001392/0.7571, allocations: 0.7909 MB / 1.015 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.7571, allocations: 59.84 kB / 1.015 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008319/0.758, allocations: 0.7547 MB / 1.016 GB, free: 12.87 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.876e-05/0.758, allocations: 37.7 kB / 1.016 GB, free: 12.83 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003402/0.7584, allocations: 0.4948 MB / 1.016 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001446/0.7585, allocations: 181.4 kB / 1.016 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001944/0.7587, allocations: 146.6 kB / 1.016 GB, free: 12 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.7589, allocations: 337.9 kB / 1.017 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003601/0.7592, allocations: 241.9 kB / 1.017 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005906/0.7598, allocations: 0.5643 MB / 1.018 GB, free: 10.72 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009457/0.7608, allocations: 0.7957 MB / 1.018 GB, free: 9.816 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.7608, allocations: 8 kB / 1.018 GB, free: 9.809 MB / 0.8106 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001234/0.762, allocations: 0.8383 MB / 1.019 GB, free: 8.961 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.7621, allocations: 8 kB / 1.019 GB, free: 8.953 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.7621, allocations: 8 kB / 1.019 GB, free: 8.945 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.7621, allocations: 12 kB / 1.019 GB, free: 8.934 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005801/0.7627, allocations: 156.4 kB / 1.019 GB, free: 8.781 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.953e-05/0.7627, allocations: 23.92 kB / 1.019 GB, free: 8.758 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006898/0.7634, allocations: 91.11 kB / 1.019 GB, free: 8.668 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.712e-05/0.7635, allocations: 35.94 kB / 1.02 GB, free: 8.633 MB / 0.8106 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003903/0.7639, allocations: 329.5 kB / 1.02 GB, free: 8.301 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/0.764, allocations: 82.97 kB / 1.02 GB, free: 8.219 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009424/0.765, allocations: 0.6178 MB / 1.021 GB, free: 7.594 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007047/0.7657, allocations: 0.5173 MB / 1.021 GB, free: 7.062 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.7657, allocations: 0 / 1.021 GB, free: 7.062 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002846/0.766, allocations: 223.9 kB / 1.021 GB, free: 6.824 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/0.7661, allocations: 17.17 kB / 1.021 GB, free: 6.809 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004336/0.7665, allocations: 12 kB / 1.021 GB, free: 6.797 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.701e-05/0.7666, allocations: 32.39 kB / 1.021 GB, free: 6.766 MB / 0.8106 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001182/0.7678, allocations: 0.6753 MB / 1.022 GB, free: 6.082 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001309/0.7691, allocations: 1.106 MB / 1.023 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003321/0.7695, allocations: 263.4 kB / 1.023 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0005914/0.7701, allocations: 0.5107 MB / 1.024 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of Backend: time 3.61e-07/0.7701, allocations: 0 / 1.024 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001648/0.7717, allocations: 0.7282 MB / 1.025 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of SimCode: time 0.003584/0.7753, allocations: 2.473 MB / 1.027 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of Templates: time 0.02713/0.8025, allocations: 17.71 MB / 1.044 GB, free: 15.61 MB / 0.8419 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)