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.001192/0.001192, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 187.6 kB / 16.64 MB, free: 6.594 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.513/1.513, allocations: 205.1 MB / 222.5 MB, free: 4.559 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.97/1.97, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001558/0.001559, allocations: 70.28 kB / 0.6723 GB, free: 25.79 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.2813, allocations: 114.6 MB / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.7656/1.047, allocations: 195.1 MB / 0.9747 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01983/1.067, allocations: 14.27 MB / 0.9886 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002361/1.069, allocations: 36.03 kB / 0.9886 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001922/1.071, allocations: 0.4935 MB / 0.9891 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.005736/1.077, allocations: 1.887 MB / 0.9909 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00296/1.08, allocations: 0.8675 MB / 0.9918 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0041/1.084, allocations: 2.558 MB / 0.9943 GB, free: 9.887 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001709/1.086, allocations: 1.112 MB / 0.9954 GB, free: 9.254 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005991/1.092, allocations: 1.604 MB / 0.9969 GB, free: 8.418 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002621/1.094, allocations: 0.9197 MB / 0.9978 GB, free: 7.961 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002989/1.095, allocations: 104.8 kB / 0.9979 GB, free: 7.961 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00342/1.098, allocations: 1.1 MB / 0.999 GB, free: 7.523 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0006115/1.099, allocations: 0.4996 MB / 0.9995 GB, free: 7.195 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0009352/1.1, allocations: 0.6326 MB / 1 GB, free: 6.797 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003201/1.103, allocations: 1.905 MB / 1.002 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/1.103, allocations: 4 kB / 1.002 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.605e-06/1.103, allocations: 0 / 1.002 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.338e-05/1.103, allocations: 4 kB / 1.002 GB, free: 5.641 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.002632/1.106, allocations: 1.445 MB / 1.003 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.546e-05/1.106, allocations: 14.08 kB / 1.003 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001487/1.107, allocations: 246.3 kB / 1.004 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0015/1.109, allocations: 0.7947 MB / 1.004 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.884e-05/1.109, allocations: 70.72 kB / 1.004 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001506/1.109, allocations: 94.5 kB / 1.005 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001829/1.111, allocations: 1.169 MB / 1.006 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.576e-05/1.111, allocations: 0 / 1.006 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.032e-05/1.111, allocations: 49.56 kB / 1.006 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.289e-05/1.111, allocations: 32.25 kB / 1.006 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001377/1.112, allocations: 0.8997 MB / 1.007 GB, free: 2.535 MB / 0.7325 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.006301/1.119, allocations: 5.731 MB / 1.012 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007717/1.12, allocations: 0.5249 MB / 1.013 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004977/1.12, allocations: 319.7 kB / 1.013 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005985/1.121, allocations: 317.4 kB / 1.013 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.66e-05/1.121, allocations: 39.31 kB / 1.013 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=49): time 3.206e-06/1.121, allocations: 3.938 kB / 1.013 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of matching and sorting (n=49): time 0.001581/1.122, allocations: 0.7927 MB / 1.014 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/1.122, allocations: 57.03 kB / 1.014 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009295/1.123, allocations: 0.749 MB / 1.015 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 6.148e-05/1.123, allocations: 40.48 kB / 1.015 GB, free: 11.65 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004691/1.124, allocations: 0.5085 MB / 1.016 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002391/1.124, allocations: 175.9 kB / 1.016 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002428/1.124, allocations: 148.2 kB / 1.016 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002041/1.125, allocations: 333 kB / 1.016 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000379/1.125, allocations: 252.7 kB / 1.016 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007171/1.126, allocations: 0.555 MB / 1.017 GB, free: 9.988 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001054/1.127, allocations: 0.7957 MB / 1.018 GB, free: 9.383 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/1.127, allocations: 2.219 kB / 1.018 GB, free: 9.383 MB / 0.7481 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001407/1.128, allocations: 0.841 MB / 1.019 GB, free: 8.953 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/1.128, allocations: 14.41 kB / 1.019 GB, free: 8.949 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/1.128, allocations: 14.38 kB / 1.019 GB, free: 8.945 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.75e-05/1.128, allocations: 12.19 kB / 1.019 GB, free: 8.945 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005774/1.129, allocations: 145.8 kB / 1.019 GB, free: 8.918 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.025e-05/1.129, allocations: 24.62 kB / 1.019 GB, free: 8.906 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007425/1.13, allocations: 92.89 kB / 1.019 GB, free: 8.844 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.335e-05/1.13, allocations: 37.84 kB / 1.019 GB, free: 8.832 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.0004625/1.13, allocations: 332.7 kB / 1.019 GB, free: 8.59 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/1.13, allocations: 86.66 kB / 1.019 GB, free: 8.543 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009586/1.131, allocations: 0.6134 MB / 1.02 GB, free: 8.191 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/1.131, allocations: 5.281 kB / 1.02 GB, free: 8.191 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/1.131, allocations: 3.984 kB / 1.02 GB, free: 8.188 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006877/1.132, allocations: 0.5129 MB / 1.02 GB, free: 7.91 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002444/1.134, allocations: 1.664 MB / 1.022 GB, free: 6.777 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.984e-06/1.134, allocations: 6.812 kB / 1.022 GB, free: 6.773 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005497/1.135, allocations: 111.7 kB / 1.022 GB, free: 6.75 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/1.135, allocations: 2.531 kB / 1.022 GB, free: 6.75 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.398e-05/1.135, allocations: 15.75 kB / 1.022 GB, free: 6.742 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.284e-05/1.135, allocations: 10.73 kB / 1.022 GB, free: 6.734 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/1.135, allocations: 6.219 kB / 1.022 GB, free: 6.73 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001547/1.137, allocations: 1.057 MB / 1.023 GB, free: 6.082 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003758/1.137, allocations: 219.8 kB / 1.023 GB, free: 5.895 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/1.137, allocations: 16.33 kB / 1.023 GB, free: 5.883 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004532/1.138, allocations: 19.78 kB / 1.023 GB, free: 5.871 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.011e-05/1.138, allocations: 31.14 kB / 1.023 GB, free: 5.855 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.38e-05/1.138, allocations: 27.23 kB / 1.023 GB, free: 5.844 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0007855/1.139, allocations: 0.5076 MB / 1.024 GB, free: 5.555 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/1.139, allocations: 0 / 1.024 GB, free: 5.555 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001193/1.14, allocations: 292 kB / 1.024 GB, free: 5.5 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.0007775/1.141, allocations: 216.8 kB / 1.024 GB, free: 5.355 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001359/1.142, allocations: 0.6111 MB / 1.025 GB, free: 5.078 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/1.142, allocations: 2.531 kB / 1.025 GB, free: 5.078 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003897/1.142, allocations: 271.3 kB / 1.025 GB, free: 4.957 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001958/1.144, allocations: 441.5 kB / 1.026 GB, free: 4.73 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003172/1.147, allocations: 1.911 MB / 1.028 GB, free: 3.527 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008481/1.148, allocations: 1.122 MB / 1.029 GB, free: 2.629 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0009344/1.149, allocations: 261.6 kB / 1.029 GB, free: 2.516 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001976/1.149, allocations: 73.67 kB / 1.029 GB, free: 2.5 MB / 0.7481 GB Notification: Performance of SimCode: time 1.002e-06/1.149, allocations: 0 / 1.029 GB, free: 2.5 MB / 0.7481 GB Notification: Performance of Templates: time 0.0296/1.179, allocations: 15.42 MB / 1.044 GB, free: 4.336 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)