Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances") translateModel(IDEAS.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001163/0.001163, allocations: 110.4 kB / 16.42 MB, free: 6.508 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.001139/0.001139, allocations: 185.5 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.183/1.183, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7214/0.7214, allocations: 135.1 MB / 426.4 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001107/0.001107, allocations: 63.38 kB / 0.5863 GB, free: 21.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1162, allocations: 80.93 MB / 0.6653 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.4395/0.5557, allocations: 195.1 MB / 0.8558 GB, free: 9.668 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01456/0.5703, allocations: 14.31 MB / 0.8698 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008569/0.5712, allocations: 35.81 kB / 0.8699 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001202/0.5724, allocations: 0.5086 MB / 0.8703 GB, free: 13.37 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00362/0.5761, allocations: 1.96 MB / 0.8723 GB, free: 11.4 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001801/0.5779, allocations: 0.8712 MB / 0.8731 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002224/0.5801, allocations: 2.577 MB / 0.8756 GB, free: 7.949 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001132/0.5812, allocations: 1.116 MB / 0.8767 GB, free: 6.812 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003/0.5843, allocations: 1.655 MB / 0.8783 GB, free: 5.176 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001059/0.5853, allocations: 0.9186 MB / 0.8792 GB, free: 4.254 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001465/0.5855, allocations: 108 kB / 0.8793 GB, free: 4.148 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001685/0.5872, allocations: 1.103 MB / 0.8804 GB, free: 3.043 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004026/0.5876, allocations: 0.4987 MB / 0.8809 GB, free: 2.543 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005454/0.5881, allocations: 0.6377 MB / 0.8815 GB, free: 1.902 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001833/0.59, allocations: 1.916 MB / 0.8834 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.59, allocations: 0 / 0.8834 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.052e-06/0.59, allocations: 0 / 0.8834 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.236e-05/0.59, allocations: 0 / 0.8834 GB, free: 15.98 MB / 0.6544 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.00183/0.5918, allocations: 1.457 MB / 0.8848 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.114e-05/0.5919, allocations: 9.109 kB / 0.8848 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001229/0.5931, allocations: 254.4 kB / 0.8851 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001198/0.5943, allocations: 0.7882 MB / 0.8858 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.068e-05/0.5944, allocations: 77.98 kB / 0.8859 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/0.5945, allocations: 95.98 kB / 0.886 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001501/0.596, allocations: 1.169 MB / 0.8871 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/0.5961, allocations: 3.938 kB / 0.8871 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.482e-05/0.5961, allocations: 40 kB / 0.8872 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.603e-05/0.5962, allocations: 38 kB / 0.8872 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001231/0.5974, allocations: 0.8937 MB / 0.8881 GB, free: 11 MB / 0.6544 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.004828/0.6023, allocations: 5.735 MB / 0.8937 GB, free: 4.805 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007014/0.603, allocations: 0.5345 MB / 0.8942 GB, free: 4.266 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003771/0.6034, allocations: 314.6 kB / 0.8945 GB, free: 3.957 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005279/0.6039, allocations: 315.7 kB / 0.8948 GB, free: 3.594 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.6039, allocations: 43 kB / 0.8949 GB, free: 3.539 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=49): time 2.024e-06/0.6039, allocations: 0 / 0.8949 GB, free: 3.539 MB / 0.6544 GB Notification: Performance of matching and sorting (n=49): time 0.001294/0.6052, allocations: 0.8026 MB / 0.8956 GB, free: 2.73 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.733e-05/0.6053, allocations: 59.84 kB / 0.8957 GB, free: 2.66 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007567/0.606, allocations: 0.7508 MB / 0.8964 GB, free: 1.902 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.068e-05/0.6061, allocations: 37.7 kB / 0.8965 GB, free: 1.859 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003149/0.6064, allocations: 0.5065 MB / 0.897 GB, free: 1.344 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001292/0.6065, allocations: 181.5 kB / 0.8971 GB, free: 1.164 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001771/0.6067, allocations: 142.5 kB / 0.8973 GB, free: 1.02 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.6068, allocations: 334 kB / 0.8976 GB, free: 0.6875 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003309/0.6072, allocations: 249.8 kB / 0.8978 GB, free: 456 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005446/0.6077, allocations: 0.5567 MB / 0.8984 GB, free: 15.75 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008743/0.6086, allocations: 0.7995 MB / 0.8992 GB, free: 14.84 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.6086, allocations: 0 / 0.8992 GB, free: 14.84 MB / 0.67 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001097/0.6097, allocations: 0.8466 MB / 0.9 GB, free: 13.99 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.6098, allocations: 8 kB / 0.9 GB, free: 13.98 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.6098, allocations: 8 kB / 0.9 GB, free: 13.98 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.6098, allocations: 15.94 kB / 0.9 GB, free: 13.96 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005101/0.6103, allocations: 155.7 kB / 0.9002 GB, free: 13.81 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.525e-05/0.6103, allocations: 15.94 kB / 0.9002 GB, free: 13.79 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006352/0.611, allocations: 95.33 kB / 0.9003 GB, free: 13.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-05/0.611, allocations: 35.98 kB / 0.9003 GB, free: 13.66 MB / 0.67 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.0003486/0.6114, allocations: 333.4 kB / 0.9006 GB, free: 13.33 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.6115, allocations: 86.95 kB / 0.9007 GB, free: 13.24 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008866/0.6124, allocations: 0.6141 MB / 0.9013 GB, free: 12.62 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000639/0.6131, allocations: 0.5172 MB / 0.9018 GB, free: 12.09 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.6131, allocations: 0 / 0.9018 GB, free: 12.09 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003017/0.6134, allocations: 227.8 kB / 0.902 GB, free: 11.85 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.607e-05/0.6135, allocations: 16 kB / 0.902 GB, free: 11.83 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004035/0.6139, allocations: 13.86 kB / 0.9021 GB, free: 11.82 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.801e-05/0.6139, allocations: 28.41 kB / 0.9021 GB, free: 11.79 MB / 0.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001103/0.6151, allocations: 0.6791 MB / 0.9027 GB, free: 11.11 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0012/0.6163, allocations: 1.102 MB / 0.9038 GB, free: 9.984 MB / 0.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002963/0.6166, allocations: 263.4 kB / 0.9041 GB, free: 9.73 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.000532/0.6171, allocations: 0.5146 MB / 0.9046 GB, free: 9.219 MB / 0.67 GB Notification: Performance of Backend: time 2.9e-07/0.6171, allocations: 0 / 0.9046 GB, free: 9.219 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001507/0.6186, allocations: 0.7404 MB / 0.9053 GB, free: 8.484 MB / 0.67 GB Notification: Performance of SimCode: time 0.003238/0.6219, allocations: 2.471 MB / 0.9077 GB, free: 5.973 MB / 0.67 GB Notification: Performance of Templates: time 0.02505/0.6469, allocations: 17.92 MB / 0.9252 GB, free: 4.246 MB / 0.6856 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)