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.001263/0.001263, allocations: 105.6 kB / 15.98 MB, free: 6.336 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.001294/0.001295, allocations: 193.1 kB / 16.91 MB, free: 6.188 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.406/1.406, allocations: 205.1 MB / 222.8 MB, free: 4.68 MB / 174.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.701/1.701, allocations: 292.3 MB / 0.5492 GB, free: 13.6 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.001408/0.001408, allocations: 70.14 kB / 0.6716 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2752/0.2766, allocations: 114.5 MB / 0.7835 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.7953/1.072, allocations: 192.6 MB / 0.9716 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02158/1.094, allocations: 14.18 MB / 0.9854 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002344/1.096, allocations: 31.88 kB / 0.9855 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001944/1.098, allocations: 439.5 kB / 0.9859 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.00607/1.104, allocations: 1.766 MB / 0.9876 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002968/1.107, allocations: 0.7823 MB / 0.9884 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004906/1.112, allocations: 2.562 MB / 0.9909 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002773/1.115, allocations: 1.057 MB / 0.9919 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007109/1.122, allocations: 1.601 MB / 0.9935 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002627/1.125, allocations: 0.9794 MB / 0.9944 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002765/1.125, allocations: 104.2 kB / 0.9945 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003303/1.128, allocations: 1.149 MB / 0.9956 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0006749/1.129, allocations: 0.5 MB / 0.9961 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001123/1.13, allocations: 0.6315 MB / 0.9967 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002451/1.133, allocations: 1.443 MB / 0.9982 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.866e-06/1.133, allocations: 4 kB / 0.9982 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.146e-06/1.133, allocations: 0 / 0.9982 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.871e-05/1.133, allocations: 0 / 0.9982 GB, free: 3.406 MB / 0.7325 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.002759/1.135, allocations: 1.45 MB / 0.9996 GB, free: 18.45 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/1.135, allocations: 10.84 kB / 0.9996 GB, free: 18.45 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001462/1.137, allocations: 247.5 kB / 0.9998 GB, free: 18.38 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001263/1.138, allocations: 0.7564 MB / 1.001 GB, free: 17.93 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.138e-05/1.138, allocations: 70.53 kB / 1.001 GB, free: 17.9 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001544/1.138, allocations: 89.97 kB / 1.001 GB, free: 17.87 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001762/1.14, allocations: 1.174 MB / 1.002 GB, free: 17.31 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.796e-05/1.14, allocations: 0 / 1.002 GB, free: 17.31 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.508e-05/1.14, allocations: 48.69 kB / 1.002 GB, free: 17.28 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-05/1.14, allocations: 34.53 kB / 1.002 GB, free: 17.27 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001296/1.142, allocations: 0.8991 MB / 1.003 GB, free: 17 MB / 0.7481 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.006423/1.148, allocations: 5.724 MB / 1.008 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007832/1.149, allocations: 0.5237 MB / 1.009 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004372/1.149, allocations: 323.9 kB / 1.009 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006375/1.15, allocations: 314.8 kB / 1.01 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.185e-05/1.15, allocations: 44.58 kB / 1.01 GB, free: 11.81 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=49): time 3.166e-06/1.15, allocations: 2.438 kB / 1.01 GB, free: 11.81 MB / 0.7481 GB Notification: Performance of matching and sorting (n=49): time 0.001637/1.152, allocations: 0.7969 MB / 1.01 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.746e-05/1.152, allocations: 56.53 kB / 1.01 GB, free: 11.44 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/1.153, allocations: 0.7421 MB / 1.011 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 8.071e-05/1.153, allocations: 37.14 kB / 1.011 GB, free: 11.1 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004929/1.153, allocations: 0.5111 MB / 1.012 GB, free: 10.69 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002369/1.154, allocations: 175.1 kB / 1.012 GB, free: 10.56 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002495/1.154, allocations: 142.9 kB / 1.012 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002/1.154, allocations: 339.8 kB / 1.012 GB, free: 10.16 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003748/1.155, allocations: 250.7 kB / 1.013 GB, free: 10.08 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006442/1.155, allocations: 0.5635 MB / 1.013 GB, free: 9.602 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/1.156, allocations: 0.7907 MB / 1.014 GB, free: 9.086 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.603e-06/1.156, allocations: 2.219 kB / 1.014 GB, free: 9.086 MB / 0.7481 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001344/1.158, allocations: 0.8442 MB / 1.015 GB, free: 8.781 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/1.158, allocations: 11.03 kB / 1.015 GB, free: 8.781 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.835e-05/1.158, allocations: 13.34 kB / 1.015 GB, free: 8.781 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.319e-05/1.158, allocations: 10.06 kB / 1.015 GB, free: 8.781 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006151/1.158, allocations: 154.5 kB / 1.015 GB, free: 8.773 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.125e-05/1.158, allocations: 17.22 kB / 1.015 GB, free: 8.773 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001051/1.159, allocations: 142.5 kB / 1.015 GB, free: 8.707 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.878e-05/1.159, allocations: 36.88 kB / 1.015 GB, free: 8.699 MB / 0.7481 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.0006153/1.16, allocations: 326.8 kB / 1.015 GB, free: 8.5 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001563/1.16, allocations: 86.14 kB / 1.015 GB, free: 8.457 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001043/1.161, allocations: 0.6144 MB / 1.016 GB, free: 8.191 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/1.161, allocations: 7.031 kB / 1.016 GB, free: 8.191 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/1.161, allocations: 0 / 1.016 GB, free: 8.191 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006991/1.162, allocations: 0.5161 MB / 1.017 GB, free: 7.969 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002776/1.165, allocations: 1.665 MB / 1.018 GB, free: 7.141 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/1.165, allocations: 6.344 kB / 1.018 GB, free: 7.137 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005301/1.165, allocations: 108.7 kB / 1.018 GB, free: 7.137 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.275e-06/1.165, allocations: 1.812 kB / 1.018 GB, free: 7.137 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.38e-05/1.165, allocations: 16.09 kB / 1.018 GB, free: 7.129 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.434e-06/1.165, allocations: 7.375 kB / 1.018 GB, free: 7.129 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/1.165, allocations: 3.734 kB / 1.018 GB, free: 7.129 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00139/1.167, allocations: 1.054 MB / 1.019 GB, free: 6.578 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004006/1.167, allocations: 230.3 kB / 1.02 GB, free: 6.383 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/1.167, allocations: 12.91 kB / 1.02 GB, free: 6.375 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005641/1.168, allocations: 64.16 kB / 1.02 GB, free: 6.344 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.637e-05/1.168, allocations: 34.22 kB / 1.02 GB, free: 6.328 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.863e-05/1.168, allocations: 21.36 kB / 1.02 GB, free: 6.32 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006878/1.169, allocations: 0.5103 MB / 1.02 GB, free: 6.031 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.31e-07/1.169, allocations: 4 kB / 1.02 GB, free: 6.027 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001168/1.17, allocations: 296.7 kB / 1.02 GB, free: 5.969 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (49): * Single equations (assignments): 49 * 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.0005505/1.17, allocations: 216.8 kB / 1.021 GB, free: 5.824 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001271/1.172, allocations: 0.7073 MB / 1.021 GB, free: 5.574 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/1.172, allocations: 4.125 kB / 1.021 GB, free: 5.57 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0004064/1.172, allocations: 274.1 kB / 1.022 GB, free: 5.457 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001943/1.174, allocations: 455.6 kB / 1.022 GB, free: 5.227 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003718/1.178, allocations: 2.378 MB / 1.024 GB, free: 3.578 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007901/1.179, allocations: 1.113 MB / 1.025 GB, free: 2.688 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002538/1.179, allocations: 83.8 kB / 1.026 GB, free: 2.668 MB / 0.7481 GB Notification: Performance of SimCode: time 9.01e-07/1.179, allocations: 0 / 1.026 GB, free: 2.668 MB / 0.7481 GB Notification: Performance of Templates: time 0.03423/1.213, allocations: 14.58 MB / 1.04 GB, free: 10.19 MB / 0.7637 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)