Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances") translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.042/2.042, allocations: 251.1 MB / 266.7 MB, free: 11.55 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.001329/0.001328, allocations: 171.2 kB / 326.3 MB, free: 2.832 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.256/2.256, allocations: 205.4 MB / 0.5772 GB, free: 20.68 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.0009391/0.0009391, allocations: 90.42 kB / 0.6817 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004747/0.0004749, allocations: 12.03 kB / 0.7957 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1906/0.1911, allocations: 106.3 MB / 0.8995 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.8725/1.064, allocations: 177.7 MB / 1.073 GB, free: 4.254 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02336/1.087, allocations: 13.36 MB / 1.086 GB, free: 4.008 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00138/1.088, allocations: 27.62 kB / 1.086 GB, free: 4.008 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001566/1.09, allocations: 350.1 kB / 1.086 GB, free: 4.004 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.005289/1.095, allocations: 1.385 MB / 1.088 GB, free: 3.934 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003373/1.099, allocations: 0.6698 MB / 1.089 GB, free: 3.918 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005298/1.104, allocations: 3.106 MB / 1.092 GB, free: 3.914 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001858/1.106, allocations: 0.8461 MB / 1.092 GB, free: 3.805 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003817/1.11, allocations: 1.216 MB / 1.094 GB, free: 3.789 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0021/1.112, allocations: 0.8869 MB / 1.094 GB, free: 3.789 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002187/1.112, allocations: 45.56 kB / 1.094 GB, free: 3.789 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002369/1.115, allocations: 0.5732 MB / 1.095 GB, free: 3.773 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000583/1.115, allocations: 450.7 kB / 1.095 GB, free: 3.773 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006408/1.116, allocations: 250.1 kB / 1.096 GB, free: 19.74 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.002208/1.118, allocations: 1.367 MB / 1.097 GB, free: 19.63 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/1.118, allocations: 0 / 1.097 GB, free: 19.63 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.185e-06/1.118, allocations: 0 / 1.097 GB, free: 19.63 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.779e-05/1.118, allocations: 0 / 1.097 GB, free: 19.63 MB / 0.7136 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.002703/1.121, allocations: 1.242 MB / 1.098 GB, free: 18.89 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/1.121, allocations: 9.062 kB / 1.098 GB, free: 18.89 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001839/1.123, allocations: 249.8 kB / 1.098 GB, free: 18.82 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002334/1.125, allocations: 0.8151 MB / 1.099 GB, free: 18.52 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.983e-05/1.125, allocations: 72.69 kB / 1.099 GB, free: 18.52 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002015/1.125, allocations: 97.19 kB / 1.099 GB, free: 18.51 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002629/1.128, allocations: 1.177 MB / 1.101 GB, free: 18.28 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.161e-05/1.128, allocations: 4.656 kB / 1.101 GB, free: 18.28 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001237/1.128, allocations: 40.06 kB / 1.101 GB, free: 18.28 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.996e-05/1.128, allocations: 34.3 kB / 1.101 GB, free: 18.28 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002251/1.131, allocations: 0.9115 MB / 1.102 GB, free: 18.27 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.008445/1.139, allocations: 5.738 MB / 1.107 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/1.14, allocations: 0.5353 MB / 1.108 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006439/1.141, allocations: 320.8 kB / 1.108 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009142/1.142, allocations: 329.9 kB / 1.108 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.741e-05/1.142, allocations: 40.19 kB / 1.108 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=51): time 5.069e-06/1.142, allocations: 0 / 1.108 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of matching and sorting (n=51): time 0.002182/1.144, allocations: 0.8104 MB / 1.109 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.578e-05/1.144, allocations: 91.36 kB / 1.109 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001211/1.145, allocations: 0.7318 MB / 1.11 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.883e-05/1.145, allocations: 38.14 kB / 1.11 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003864/1.146, allocations: 0.4961 MB / 1.11 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000192/1.146, allocations: 185.5 kB / 1.111 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.003e-05/1.146, allocations: 14.94 kB / 1.111 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002033/1.146, allocations: 390.3 kB / 1.111 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000582/1.147, allocations: 248.4 kB / 1.111 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007915/1.148, allocations: 0.5561 MB / 1.112 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007654/1.148, allocations: 353.8 kB / 1.112 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/1.148, allocations: 2.969 kB / 1.112 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001928/1.15, allocations: 0.8565 MB / 1.113 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/1.15, allocations: 6.438 kB / 1.113 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/1.15, allocations: 9.828 kB / 1.113 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.038e-05/1.151, allocations: 14.77 kB / 1.113 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001073/1.152, allocations: 159.7 kB / 1.113 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.137e-05/1.152, allocations: 14.84 kB / 1.113 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001518/1.153, allocations: 144 kB / 1.113 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-05/1.153, allocations: 38.23 kB / 1.113 GB, free: 12.51 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006527/1.154, allocations: 332.9 kB / 1.114 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001849/1.154, allocations: 87.66 kB / 1.114 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001402/1.156, allocations: 0.6224 MB / 1.114 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001063/1.157, allocations: 0.5222 MB / 1.115 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/1.157, allocations: 0 / 1.115 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005289/1.157, allocations: 234.9 kB / 1.115 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001636/1.157, allocations: 12.64 kB / 1.115 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001041/1.158, allocations: 64 kB / 1.115 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.608e-05/1.159, allocations: 34.86 kB / 1.115 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001959/1.16, allocations: 0.7628 MB / 1.116 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002104/1.163, allocations: 1.189 MB / 1.117 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004983/1.163, allocations: 272 kB / 1.117 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0009099/1.164, allocations: 0.5004 MB / 1.118 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of Backend: time 5.91e-07/1.164, allocations: 0 / 1.118 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002562/1.167, allocations: 0.7309 MB / 1.119 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of SimCode: time 0.006214/1.173, allocations: 2.936 MB / 1.121 GB, free: 9.641 MB / 0.7136 GB Notification: Performance of Templates: time 0.04694/1.22, allocations: 16.99 MB / 1.138 GB, free: 2.984 MB / 0.7136 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)