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.362/1.362, allocations: 251.5 MB / 267.4 MB, free: 11.07 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.0009287/0.0009288, allocations: 177 kB / 326.5 MB, free: 2.723 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.362/1.362, allocations: 205 MB / 0.5766 GB, free: 20.96 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.0007265/0.0007268, allocations: 97.16 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003069/0.0003071, allocations: 15.06 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1581, allocations: 105.4 MB / 0.8967 GB, free: 68.24 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.5361/0.6942, allocations: 192.7 MB / 1.085 GB, free: 1.562 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01387/0.7081, allocations: 14.47 MB / 1.099 GB, free: 1.277 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001026/0.7092, allocations: 29.41 kB / 1.099 GB, free: 1.277 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001271/0.7105, allocations: 425 kB / 1.1 GB, free: 1.27 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.003993/0.7145, allocations: 1.773 MB / 1.101 GB, free: 1.18 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001939/0.7164, allocations: 0.7832 MB / 1.102 GB, free: 1.152 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002851/0.7193, allocations: 3.671 MB / 1.106 GB, free: 1.148 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009311/0.7202, allocations: 0.9041 MB / 1.106 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002285/0.7225, allocations: 1.348 MB / 1.108 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001429/0.724, allocations: 0.9296 MB / 1.109 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001196/0.7241, allocations: 51.19 kB / 1.109 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002008/0.7261, allocations: 1.243 MB / 1.11 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003919/0.7265, allocations: 455.2 kB / 1.11 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005393/0.7271, allocations: 0.5652 MB / 1.111 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001777/0.7289, allocations: 1.91 MB / 1.113 GB, free: 0.832 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.7289, allocations: 0 / 1.113 GB, free: 0.832 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.723e-06/0.7289, allocations: 0 / 1.113 GB, free: 0.832 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.375e-05/0.7289, allocations: 0 / 1.113 GB, free: 0.832 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.001645/0.7305, allocations: 1.229 MB / 1.114 GB, free: 16.08 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.7306, allocations: 8.062 kB / 1.114 GB, free: 16.08 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001162/0.7318, allocations: 263.8 kB / 1.114 GB, free: 16.01 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001235/0.733, allocations: 0.8241 MB / 1.115 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.079e-05/0.7331, allocations: 74.31 kB / 1.115 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/0.7332, allocations: 104.4 kB / 1.115 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001375/0.7346, allocations: 1.177 MB / 1.116 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.698e-05/0.7346, allocations: 2.906 kB / 1.116 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.589e-05/0.7347, allocations: 44.45 kB / 1.116 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.689e-05/0.7348, allocations: 31.38 kB / 1.116 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001192/0.736, allocations: 0.9172 MB / 1.117 GB, free: 15.45 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.004553/0.7405, allocations: 5.744 MB / 1.123 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006286/0.7412, allocations: 0.5296 MB / 1.124 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003863/0.7416, allocations: 327.9 kB / 1.124 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005435/0.7421, allocations: 328.5 kB / 1.124 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.7421, allocations: 44.5 kB / 1.124 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=51): time 2.254e-06/0.7422, allocations: 3.938 kB / 1.124 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of matching and sorting (n=51): time 0.00129/0.7435, allocations: 0.82 MB / 1.125 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.7435, allocations: 80.45 kB / 1.125 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007294/0.7442, allocations: 0.7502 MB / 1.126 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.413e-05/0.7443, allocations: 36.52 kB / 1.126 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002805/0.7446, allocations: 0.4976 MB / 1.126 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001254/0.7447, allocations: 187.7 kB / 1.126 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.065e-05/0.7448, allocations: 59 kB / 1.127 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.7449, allocations: 392.5 kB / 1.127 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000328/0.7453, allocations: 260.4 kB / 1.127 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005164/0.7458, allocations: 0.553 MB / 1.128 GB, free: 9.832 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008644/0.7467, allocations: 0.8094 MB / 1.129 GB, free: 9.535 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.7467, allocations: 0 / 1.129 GB, free: 9.535 MB / 0.7136 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001302/0.748, allocations: 0.8521 MB / 1.129 GB, free: 9.449 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.663e-05/0.748, allocations: 8.156 kB / 1.129 GB, free: 9.449 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.877e-05/0.7481, allocations: 11.88 kB / 1.129 GB, free: 9.445 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.212e-05/0.7481, allocations: 12.03 kB / 1.129 GB, free: 9.445 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006249/0.7487, allocations: 158.8 kB / 1.13 GB, free: 9.445 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.444e-05/0.7488, allocations: 17.39 kB / 1.13 GB, free: 9.445 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008804/0.7496, allocations: 136.4 kB / 1.13 GB, free: 9.395 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.009e-05/0.7497, allocations: 41.62 kB / 1.13 GB, free: 9.391 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.0004587/0.7502, allocations: 336.7 kB / 1.13 GB, free: 9.27 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001761/0.7504, allocations: 84.88 kB / 1.13 GB, free: 9.227 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001003/0.7514, allocations: 0.6233 MB / 1.131 GB, free: 9.168 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006795/0.7521, allocations: 0.5201 MB / 1.131 GB, free: 9.098 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.7521, allocations: 3.719 kB / 1.131 GB, free: 9.098 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003242/0.7524, allocations: 231.4 kB / 1.131 GB, free: 8.953 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/0.7525, allocations: 17.52 kB / 1.131 GB, free: 8.949 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005617/0.7531, allocations: 69.53 kB / 1.132 GB, free: 8.938 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.87e-05/0.7532, allocations: 31.58 kB / 1.132 GB, free: 8.934 MB / 0.7136 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001125/0.7543, allocations: 0.7664 MB / 1.132 GB, free: 8.738 MB / 0.7136 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00125/0.7556, allocations: 1.199 MB / 1.133 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002759/0.7558, allocations: 265.5 kB / 1.134 GB, free: 8.395 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0005308/0.7564, allocations: 0.5139 MB / 1.134 GB, free: 8.297 MB / 0.7136 GB Notification: Performance of Backend: time 4.61e-07/0.7564, allocations: 0 / 1.134 GB, free: 8.297 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001644/0.758, allocations: 0.7392 MB / 1.135 GB, free: 8.172 MB / 0.7136 GB Notification: Performance of SimCode: time 0.00369/0.7617, allocations: 2.871 MB / 1.138 GB, free: 6.492 MB / 0.7136 GB Notification: Performance of Templates: time 0.02577/0.7875, allocations: 17.45 MB / 1.155 GB, free: 15.05 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)