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.001622/0.001622, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001924/0.001924, allocations: 192.3 kB / 16.13 MB, free: 6.656 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.562/1.562, allocations: 205.1 MB / 222 MB, free: 4.758 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.74/1.74, allocations: 292.3 MB / 0.5484 GB, free: 13.7 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.001283/0.001283, allocations: 71.73 kB / 0.6708 GB, free: 26.47 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2661, allocations: 114.5 MB / 0.7827 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.8151/1.081, allocations: 192.9 MB / 0.971 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0156/1.097, allocations: 14.38 MB / 0.9851 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001789/1.099, allocations: 32.12 kB / 0.9851 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001537/1.1, allocations: 422.1 kB / 0.9855 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.005233/1.106, allocations: 1.77 MB / 0.9872 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002627/1.108, allocations: 0.7705 MB / 0.988 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005257/1.114, allocations: 3.603 MB / 0.9915 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001661/1.115, allocations: 0.9308 MB / 0.9924 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005513/1.121, allocations: 1.451 MB / 0.9938 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002368/1.123, allocations: 0.9609 MB / 0.9948 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002331/1.123, allocations: 60.03 kB / 0.9948 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003102/1.127, allocations: 1.254 MB / 0.996 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0005783/1.127, allocations: 469.9 kB / 0.9965 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0009747/1.128, allocations: 0.5817 MB / 0.9971 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002859/1.131, allocations: 1.919 MB / 0.9989 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/1.131, allocations: 2.312 kB / 0.9989 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.302e-06/1.131, allocations: 0 / 0.9989 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.99e-05/1.131, allocations: 0 / 0.9989 GB, free: 2.996 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.002846/1.134, allocations: 1.446 MB / 1 GB, free: 18.04 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/1.134, allocations: 8.438 kB / 1 GB, free: 18.04 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001535/1.135, allocations: 254.2 kB / 1.001 GB, free: 17.96 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001316/1.137, allocations: 0.7482 MB / 1.001 GB, free: 17.53 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.067e-05/1.137, allocations: 71.28 kB / 1.001 GB, free: 17.49 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001327/1.137, allocations: 94.36 kB / 1.001 GB, free: 17.46 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001636/1.139, allocations: 1.176 MB / 1.003 GB, free: 16.9 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.652e-05/1.139, allocations: 0 / 1.003 GB, free: 16.9 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.259e-05/1.139, allocations: 42.28 kB / 1.003 GB, free: 16.87 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.975e-05/1.139, allocations: 34.34 kB / 1.003 GB, free: 16.87 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001356/1.14, allocations: 0.9001 MB / 1.004 GB, free: 16.59 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.006788/1.147, allocations: 5.729 MB / 1.009 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008981/1.148, allocations: 0.5233 MB / 1.01 GB, free: 11.85 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005075/1.148, allocations: 316.3 kB / 1.01 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006774/1.149, allocations: 310.1 kB / 1.01 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.38e-05/1.149, allocations: 45.64 kB / 1.01 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=49): time 3.616e-06/1.149, allocations: 2.625 kB / 1.01 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of matching and sorting (n=49): time 0.001683/1.151, allocations: 0.797 MB / 1.011 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/1.151, allocations: 63.06 kB / 1.011 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009406/1.152, allocations: 0.7378 MB / 1.012 GB, free: 10.6 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 6.002e-05/1.152, allocations: 38.73 kB / 1.012 GB, free: 10.56 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000352/1.152, allocations: 0.5089 MB / 1.012 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001853/1.153, allocations: 173.6 kB / 1.013 GB, free: 9.965 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000213/1.153, allocations: 146.4 kB / 1.013 GB, free: 9.879 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001295/1.153, allocations: 334 kB / 1.013 GB, free: 9.555 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003559/1.153, allocations: 254.8 kB / 1.013 GB, free: 9.43 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005758/1.154, allocations: 0.5636 MB / 1.014 GB, free: 8.898 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000973/1.155, allocations: 0.7985 MB / 1.015 GB, free: 8.32 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/1.155, allocations: 2.156 kB / 1.015 GB, free: 8.32 MB / 0.7481 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001306/1.156, allocations: 0.8438 MB / 1.015 GB, free: 7.934 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.263e-05/1.156, allocations: 12.06 kB / 1.015 GB, free: 7.934 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.862e-05/1.156, allocations: 8 kB / 1.015 GB, free: 7.934 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.746e-05/1.156, allocations: 13.56 kB / 1.015 GB, free: 7.934 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006486/1.157, allocations: 153.5 kB / 1.016 GB, free: 7.91 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.118e-05/1.157, allocations: 15.62 kB / 1.016 GB, free: 7.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00109/1.158, allocations: 141.2 kB / 1.016 GB, free: 7.824 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.446e-05/1.158, allocations: 40.91 kB / 1.016 GB, free: 7.812 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.0005443/1.159, allocations: 327.5 kB / 1.016 GB, free: 7.586 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001543/1.159, allocations: 83.41 kB / 1.016 GB, free: 7.543 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00111/1.16, allocations: 0.618 MB / 1.017 GB, free: 7.188 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/1.16, allocations: 3.156 kB / 1.017 GB, free: 7.188 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/1.16, allocations: 4 kB / 1.017 GB, free: 7.184 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007063/1.161, allocations: 0.5163 MB / 1.017 GB, free: 6.906 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002752/1.163, allocations: 1.663 MB / 1.019 GB, free: 5.789 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/1.163, allocations: 6.469 kB / 1.019 GB, free: 5.785 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005368/1.164, allocations: 111.5 kB / 1.019 GB, free: 5.77 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.698e-06/1.164, allocations: 3.312 kB / 1.019 GB, free: 5.77 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.261e-05/1.164, allocations: 16.77 kB / 1.019 GB, free: 5.758 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.922e-06/1.164, allocations: 5.406 kB / 1.019 GB, free: 5.758 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/1.164, allocations: 6.625 kB / 1.019 GB, free: 5.754 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001335/1.165, allocations: 1.051 MB / 1.02 GB, free: 5.113 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004106/1.166, allocations: 224.1 kB / 1.02 GB, free: 4.922 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/1.166, allocations: 12.72 kB / 1.02 GB, free: 4.914 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005985/1.167, allocations: 72.25 kB / 1.02 GB, free: 4.875 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.477e-05/1.167, allocations: 36.3 kB / 1.02 GB, free: 4.859 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.46e-05/1.167, allocations: 13.28 kB / 1.02 GB, free: 4.859 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006234/1.167, allocations: 0.5127 MB / 1.021 GB, free: 4.566 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.9e-07/1.167, allocations: 0 / 1.021 GB, free: 4.566 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009728/1.168, allocations: 295.7 kB / 1.021 GB, free: 4.508 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.0005197/1.169, allocations: 219.7 kB / 1.021 GB, free: 4.363 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0009997/1.17, allocations: 0.599 MB / 1.022 GB, free: 4.125 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/1.17, allocations: 0.6875 kB / 1.022 GB, free: 4.125 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003958/1.17, allocations: 277.7 kB / 1.022 GB, free: 4.012 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002084/1.172, allocations: 434.5 kB / 1.023 GB, free: 3.809 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003259/1.176, allocations: 2.301 MB / 1.025 GB, free: 2.223 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006644/1.176, allocations: 1.12 MB / 1.026 GB, free: 1.324 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0009542/1.177, allocations: 270.8 kB / 1.026 GB, free: 1.203 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001816/1.177, allocations: 70.53 kB / 1.026 GB, free: 1.191 MB / 0.7481 GB Notification: Performance of SimCode: time 8.91e-07/1.177, allocations: 0 / 1.026 GB, free: 1.191 MB / 0.7481 GB Notification: Performance of Templates: time 0.02882/1.206, allocations: 14.98 MB / 1.041 GB, free: 7.289 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)