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.001044/0.001044, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.008828/0.008828, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.456/1.456, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9855/0.9855, allocations: 135.3 MB / 426.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000492/0.0004922, allocations: 15.98 kB / 0.5076 GB, free: 4.746 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2033/0.2038, allocations: 82.31 MB / 0.588 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.612/0.8159, allocations: 190.3 MB / 0.7738 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01792/0.8339, allocations: 14.21 MB / 0.7877 GB, free: 76 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001649/0.8356, allocations: 31.81 kB / 0.7877 GB, free: 44 kB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001636/0.8372, allocations: 421.7 kB / 0.7881 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00552/0.8428, allocations: 1.77 MB / 0.7898 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002714/0.8455, allocations: 0.7735 MB / 0.7906 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004816/0.8503, allocations: 3.616 MB / 0.7941 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001591/0.8519, allocations: 0.9117 MB / 0.795 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006086/0.858, allocations: 1.416 MB / 0.7964 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002774/0.8608, allocations: 0.9157 MB / 0.7973 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002274/0.8611, allocations: 48 kB / 0.7973 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00342/0.8645, allocations: 1.243 MB / 0.7985 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006098/0.8651, allocations: 442.7 kB / 0.799 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0009683/0.8661, allocations: 0.5809 MB / 0.7995 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003427/0.8695, allocations: 1.892 MB / 0.8014 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.01e-05/0.8696, allocations: 0 / 0.8014 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.687e-06/0.8696, allocations: 0 / 0.8014 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.247e-05/0.8696, allocations: 0 / 0.8014 GB, free: 1.988 MB / 0.6075 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.002497/0.8721, allocations: 1.237 MB / 0.8026 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.54e-05/0.8722, allocations: 8.031 kB / 0.8026 GB, free: 0.6914 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001434/0.8736, allocations: 250.4 kB / 0.8028 GB, free: 456 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001372/0.875, allocations: 0.7532 MB / 0.8036 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.286e-05/0.8751, allocations: 70 kB / 0.8036 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001524/0.8753, allocations: 92 kB / 0.8037 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001864/0.8771, allocations: 1.173 MB / 0.8049 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.401e-05/0.8772, allocations: 7.875 kB / 0.8049 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.172e-05/0.8773, allocations: 39.94 kB / 0.8049 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.187e-05/0.8773, allocations: 34 kB / 0.805 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001531/0.8789, allocations: 0.9054 MB / 0.8058 GB, free: 13.26 MB / 0.6231 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.006371/0.8853, allocations: 5.723 MB / 0.8114 GB, free: 7.082 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007886/0.8861, allocations: 0.5253 MB / 0.8119 GB, free: 6.551 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004342/0.8865, allocations: 314.6 kB / 0.8122 GB, free: 6.242 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006212/0.8871, allocations: 319.7 kB / 0.8125 GB, free: 5.875 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.774e-05/0.8872, allocations: 46.98 kB / 0.8126 GB, free: 5.816 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=49): time 2.274e-06/0.8872, allocations: 0 / 0.8126 GB, free: 5.816 MB / 0.6231 GB Notification: Performance of matching and sorting (n=49): time 0.001495/0.8887, allocations: 0.7987 MB / 0.8134 GB, free: 5.016 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.8888, allocations: 55.84 kB / 0.8134 GB, free: 4.949 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009294/0.8897, allocations: 0.7509 MB / 0.8142 GB, free: 4.191 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.518e-05/0.8898, allocations: 37.7 kB / 0.8142 GB, free: 4.148 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003957/0.8902, allocations: 0.5142 MB / 0.8147 GB, free: 3.625 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001804/0.8903, allocations: 181.5 kB / 0.8149 GB, free: 3.445 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.081e-05/0.8904, allocations: 65.69 kB / 0.8149 GB, free: 3.375 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.8906, allocations: 334 kB / 0.8152 GB, free: 3.043 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000367/0.891, allocations: 241.9 kB / 0.8155 GB, free: 2.809 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006192/0.8916, allocations: 0.5644 MB / 0.816 GB, free: 2.113 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.8926, allocations: 0.7957 MB / 0.8168 GB, free: 1.207 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.8926, allocations: 0 / 0.8168 GB, free: 1.207 MB / 0.6231 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00128/0.8939, allocations: 0.8458 MB / 0.8176 GB, free: 360 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.931e-05/0.894, allocations: 9 kB / 0.8176 GB, free: 352 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/0.894, allocations: 8 kB / 0.8176 GB, free: 344 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/0.894, allocations: 16 kB / 0.8177 GB, free: 328 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005618/0.8946, allocations: 159.8 kB / 0.8178 GB, free: 168 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.941e-05/0.8946, allocations: 23.59 kB / 0.8178 GB, free: 148 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009239/0.8955, allocations: 140.8 kB / 0.818 GB, free: 8 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.439e-05/0.8956, allocations: 32.05 kB / 0.818 GB, free: 15.97 MB / 0.6387 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.0005102/0.8961, allocations: 333.4 kB / 0.8183 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001294/0.8963, allocations: 86.97 kB / 0.8184 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001042/0.8973, allocations: 0.6101 MB / 0.819 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.8973, allocations: 8 kB / 0.819 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.8974, allocations: 3.984 kB / 0.819 GB, free: 14.92 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007579/0.8981, allocations: 0.5172 MB / 0.8195 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00258/0.9007, allocations: 1.662 MB / 0.8211 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.9007, allocations: 4 kB / 0.8211 GB, free: 12.65 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005241/0.9013, allocations: 111.9 kB / 0.8212 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.608e-06/0.9013, allocations: 8.219 kB / 0.8213 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.707e-05/0.9013, allocations: 15.97 kB / 0.8213 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.9013, allocations: 4 kB / 0.8213 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.039e-05/0.9014, allocations: 11.92 kB / 0.8213 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001416/0.9028, allocations: 1.05 MB / 0.8223 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005051/0.9033, allocations: 228 kB / 0.8225 GB, free: 11.17 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.9034, allocations: 8 kB / 0.8225 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005849/0.904, allocations: 67.78 kB / 0.8226 GB, free: 11.1 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.614e-05/0.9041, allocations: 35.91 kB / 0.8226 GB, free: 11.06 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.619e-05/0.9041, allocations: 19.98 kB / 0.8227 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007062/0.9048, allocations: 0.5146 MB / 0.8232 GB, free: 10.53 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9048, allocations: 0 / 0.8232 GB, free: 10.53 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001147/0.906, allocations: 295.4 kB / 0.8234 GB, free: 10.24 MB / 0.6387 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.0005845/0.9066, allocations: 206.7 kB / 0.8236 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001142/0.9078, allocations: 0.6081 MB / 0.8242 GB, free: 9.441 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.9078, allocations: 0 / 0.8242 GB, free: 9.441 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004375/0.9082, allocations: 275.9 kB / 0.8245 GB, free: 9.172 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002369/0.9106, allocations: 449 kB / 0.8249 GB, free: 8.754 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003274/0.9139, allocations: 2.387 MB / 0.8273 GB, free: 6.32 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00069/0.9146, allocations: 1.126 MB / 0.8284 GB, free: 5.168 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0008748/0.9155, allocations: 267.1 kB / 0.8286 GB, free: 4.902 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001985/0.9157, allocations: 75.42 kB / 0.8287 GB, free: 4.828 MB / 0.6387 GB Notification: Performance of SimCode: time 7.01e-07/0.9157, allocations: 0 / 0.8287 GB, free: 4.828 MB / 0.6387 GB Notification: Performance of Templates: time 0.02975/0.9454, allocations: 14.89 MB / 0.8432 GB, free: 6.172 MB / 0.6544 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)