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: translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances") translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.43/1.43, allocations: 251.5 MB / 267.4 MB, free: 11.08 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.0009556/0.0009556, allocations: 174.3 kB / 326.5 MB, free: 2.711 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.529/1.529, allocations: 205 MB / 0.5766 GB, free: 20.97 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.0007442/0.0007441, allocations: 86.36 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004445/0.0004446, allocations: 14.31 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2128, allocations: 105.4 MB / 0.8967 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.7439/0.9567, allocations: 192.7 MB / 1.085 GB, free: 1.551 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01908/0.9758, allocations: 14.47 MB / 1.099 GB, free: 1.266 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001975/0.9778, allocations: 28.44 kB / 1.099 GB, free: 1.266 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001862/0.9797, allocations: 414.7 kB / 1.1 GB, free: 1.262 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.006868/0.9866, allocations: 1.778 MB / 1.101 GB, free: 1.168 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002913/0.9895, allocations: 0.7847 MB / 1.102 GB, free: 1.141 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004942/0.9945, allocations: 3.67 MB / 1.106 GB, free: 1.137 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001609/0.9961, allocations: 0.9041 MB / 1.106 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003744/0.9999, allocations: 1.35 MB / 1.108 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002572/1.003, allocations: 0.9351 MB / 1.109 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003493/1.003, allocations: 47.66 kB / 1.109 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003059/1.006, allocations: 1.244 MB / 1.11 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0008219/1.007, allocations: 451.5 kB / 1.11 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001757/1.009, allocations: 0.5641 MB / 1.111 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002551/1.011, allocations: 1.425 MB / 1.112 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/1.011, allocations: 0 / 1.112 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.284e-06/1.011, allocations: 0 / 1.112 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.059e-05/1.011, allocations: 0 / 1.112 GB, free: 0.8203 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.002476/1.014, allocations: 1.234 MB / 1.114 GB, free: 16.07 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/1.014, allocations: 9.438 kB / 1.114 GB, free: 16.07 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001454/1.015, allocations: 256.9 kB / 1.114 GB, free: 16 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001557/1.017, allocations: 0.8252 MB / 1.115 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.162e-05/1.017, allocations: 72.28 kB / 1.115 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/1.017, allocations: 97.34 kB / 1.115 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001719/1.019, allocations: 1.188 MB / 1.116 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.743e-05/1.019, allocations: 7.438 kB / 1.116 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.783e-05/1.019, allocations: 37.44 kB / 1.116 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.552e-05/1.019, allocations: 37.81 kB / 1.116 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001299/1.02, allocations: 0.914 MB / 1.117 GB, free: 15.43 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.00595/1.026, allocations: 5.732 MB / 1.123 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007806/1.027, allocations: 0.5312 MB / 1.123 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003784/1.027, allocations: 331.2 kB / 1.123 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005981/1.028, allocations: 325.7 kB / 1.124 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/1.028, allocations: 41.84 kB / 1.124 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=51): time 2.554e-06/1.028, allocations: 0 / 1.124 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of matching and sorting (n=51): time 0.001441/1.029, allocations: 0.8107 MB / 1.124 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.963e-05/1.03, allocations: 89.86 kB / 1.125 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009351/1.03, allocations: 0.7571 MB / 1.125 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.945e-05/1.031, allocations: 35.77 kB / 1.125 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003405/1.031, allocations: 0.4967 MB / 1.126 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001657/1.031, allocations: 182.4 kB / 1.126 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.94e-05/1.031, allocations: 68.92 kB / 1.126 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001777/1.031, allocations: 389.5 kB / 1.126 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003489/1.032, allocations: 250.6 kB / 1.127 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006049/1.032, allocations: 0.5644 MB / 1.127 GB, free: 9.828 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009515/1.033, allocations: 0.7982 MB / 1.128 GB, free: 9.535 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/1.033, allocations: 2.969 kB / 1.128 GB, free: 9.535 MB / 0.7136 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001524/1.035, allocations: 0.8468 MB / 1.129 GB, free: 9.449 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.963e-05/1.035, allocations: 9.656 kB / 1.129 GB, free: 9.449 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.895e-05/1.035, allocations: 8.531 kB / 1.129 GB, free: 9.449 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.725e-05/1.035, allocations: 18.69 kB / 1.129 GB, free: 9.445 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006678/1.036, allocations: 161.9 kB / 1.129 GB, free: 9.445 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.87e-05/1.036, allocations: 18.91 kB / 1.129 GB, free: 9.441 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001037/1.037, allocations: 136.3 kB / 1.129 GB, free: 9.395 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001021/1.037, allocations: 38.8 kB / 1.129 GB, free: 9.395 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.000622/1.037, allocations: 336.5 kB / 1.13 GB, free: 9.27 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002796/1.038, allocations: 85.38 kB / 1.13 GB, free: 9.227 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001298/1.039, allocations: 0.6267 MB / 1.13 GB, free: 9.164 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.587e-05/1.039, allocations: 5.438 kB / 1.13 GB, free: 9.164 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/1.039, allocations: 4.531 kB / 1.13 GB, free: 9.16 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009118/1.04, allocations: 0.5228 MB / 1.131 GB, free: 9.09 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00296/1.043, allocations: 1.768 MB / 1.132 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/1.043, allocations: 3.188 kB / 1.132 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000511/1.043, allocations: 120 kB / 1.133 GB, free: 8.617 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.245e-06/1.043, allocations: 4.938 kB / 1.133 GB, free: 8.617 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.821e-05/1.044, allocations: 17.78 kB / 1.133 GB, free: 8.613 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.274e-06/1.044, allocations: 8.125 kB / 1.133 GB, free: 8.613 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/1.044, allocations: 2.938 kB / 1.133 GB, free: 8.613 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001354/1.045, allocations: 1.081 MB / 1.134 GB, free: 8.352 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003882/1.045, allocations: 236.2 kB / 1.134 GB, free: 8.207 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/1.045, allocations: 13.81 kB / 1.134 GB, free: 8.207 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005691/1.046, allocations: 69.69 kB / 1.134 GB, free: 8.195 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.039e-05/1.046, allocations: 37.83 kB / 1.134 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-05/1.046, allocations: 18.59 kB / 1.134 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000643/1.047, allocations: 0.5098 MB / 1.135 GB, free: 8.098 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.41e-07/1.047, allocations: 0 / 1.135 GB, free: 8.098 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0009256/1.048, allocations: 305.1 kB / 1.135 GB, free: 8.059 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.0005358/1.048, allocations: 215.8 kB / 1.135 GB, free: 7.945 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0008966/1.049, allocations: 0.6129 MB / 1.136 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/1.049, allocations: 0.5625 kB / 1.136 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003536/1.05, allocations: 285.5 kB / 1.136 GB, free: 7.934 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002106/1.052, allocations: 438.2 kB / 1.136 GB, free: 7.895 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003384/1.055, allocations: 2.421 MB / 1.139 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008086/1.056, allocations: 1.123 MB / 1.14 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002353/1.056, allocations: 82.8 kB / 1.14 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of SimCode: time 6.71e-07/1.056, allocations: 0 / 1.14 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of Templates: time 0.02491/1.081, allocations: 14.81 MB / 1.154 GB, free: 15.35 MB / 0.7292 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)