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.0008406/0.0008408, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0009446/0.0009446, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9967/0.9967, allocations: 135.3 MB / 426.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002923/0.0002923, allocations: 8 kB / 0.507 GB, free: 5.16 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.173, allocations: 82.31 MB / 0.5874 GB, free: 3.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.5609/0.734, allocations: 177.5 MB / 0.7607 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0171/0.7511, allocations: 13.3 MB / 0.7737 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001454/0.7526, allocations: 27.81 kB / 0.7738 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001498/0.7542, allocations: 341.8 kB / 0.7741 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004951/0.7591, allocations: 1.372 MB / 0.7754 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002333/0.7615, allocations: 0.6672 MB / 0.7761 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004068/0.7655, allocations: 3.049 MB / 0.779 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001526/0.7671, allocations: 0.8125 MB / 0.7798 GB, free: 8.023 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003119/0.7702, allocations: 1.206 MB / 0.781 GB, free: 6.812 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001604/0.7718, allocations: 0.8835 MB / 0.7819 GB, free: 5.926 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001335/0.772, allocations: 48 kB / 0.7819 GB, free: 5.879 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001694/0.7737, allocations: 0.5691 MB / 0.7825 GB, free: 5.309 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004694/0.7742, allocations: 446.7 kB / 0.7829 GB, free: 4.871 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003673/0.7746, allocations: 253.1 kB / 0.7832 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001526/0.7761, allocations: 1.352 MB / 0.7845 GB, free: 3.262 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.7761, allocations: 3.984 kB / 0.7845 GB, free: 3.258 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.403e-06/0.7761, allocations: 4 kB / 0.7845 GB, free: 3.254 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.631e-05/0.7761, allocations: 4 kB / 0.7845 GB, free: 3.25 MB / 0.5919 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.002018/0.7782, allocations: 1.237 MB / 0.7857 GB, free: 1.961 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.7782, allocations: 11.97 kB / 0.7857 GB, free: 1.949 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001297/0.7795, allocations: 246.4 kB / 0.7859 GB, free: 1.707 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001576/0.7811, allocations: 0.8298 MB / 0.7867 GB, free: 0.8398 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.756e-05/0.7812, allocations: 70 kB / 0.7868 GB, free: 0.7695 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000148/0.7813, allocations: 99.98 kB / 0.7869 GB, free: 0.6719 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001765/0.7831, allocations: 1.161 MB / 0.788 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.56e-05/0.7831, allocations: 3.938 kB / 0.788 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.26e-05/0.7832, allocations: 40 kB / 0.7881 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.154e-05/0.7833, allocations: 38 kB / 0.7881 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001403/0.7847, allocations: 0.8937 MB / 0.789 GB, free: 14.46 MB / 0.6075 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.005926/0.7906, allocations: 5.74 MB / 0.7946 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008889/0.7915, allocations: 0.5589 MB / 0.7951 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004813/0.792, allocations: 332.5 kB / 0.7955 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006658/0.7927, allocations: 331.7 kB / 0.7958 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.7927, allocations: 35 kB / 0.7958 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=51): time 2.525e-06/0.7928, allocations: 4 kB / 0.7958 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of matching and sorting (n=51): time 0.001605/0.7944, allocations: 0.822 MB / 0.7966 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.687e-05/0.7944, allocations: 85.48 kB / 0.7967 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009028/0.7953, allocations: 0.7431 MB / 0.7974 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.997e-05/0.7954, allocations: 37.7 kB / 0.7975 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003994/0.7958, allocations: 0.5066 MB / 0.798 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001764/0.796, allocations: 181.4 kB / 0.7981 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.882e-05/0.796, allocations: 16.12 kB / 0.7981 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.7962, allocations: 341.9 kB / 0.7985 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004201/0.7966, allocations: 249.8 kB / 0.7987 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008025/0.7974, allocations: 0.5745 MB / 0.7993 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006444/0.7981, allocations: 364.6 kB / 0.7996 GB, free: 2.852 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.421e-06/0.7981, allocations: 0 / 0.7996 GB, free: 2.852 MB / 0.6075 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001488/0.7996, allocations: 0.8614 MB / 0.8005 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/0.7996, allocations: 8.969 kB / 0.8005 GB, free: 1.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/0.7997, allocations: 8 kB / 0.8005 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.213e-05/0.7997, allocations: 12 kB / 0.8005 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006792/0.8004, allocations: 163.7 kB / 0.8006 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.596e-05/0.8004, allocations: 15.94 kB / 0.8007 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/0.8015, allocations: 143 kB / 0.8008 GB, free: 1.637 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.541e-05/0.8016, allocations: 36 kB / 0.8008 GB, free: 1.602 MB / 0.6075 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.0006643/0.8023, allocations: 333.5 kB / 0.8011 GB, free: 1.266 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001604/0.8024, allocations: 96.48 kB / 0.8012 GB, free: 1.172 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001121/0.8036, allocations: 0.6258 MB / 0.8018 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.8036, allocations: 7.938 kB / 0.8019 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.8036, allocations: 0 / 0.8019 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007659/0.8044, allocations: 0.5251 MB / 0.8024 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002654/0.807, allocations: 1.773 MB / 0.8041 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.8071, allocations: 4 kB / 0.8041 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005443/0.8076, allocations: 116.1 kB / 0.8042 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.186e-05/0.8076, allocations: 4.5 kB / 0.8042 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.903e-05/0.8077, allocations: 12 kB / 0.8042 GB, free: 14 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.706e-06/0.8077, allocations: 11.92 kB / 0.8042 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/0.8077, allocations: 8 kB / 0.8043 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001396/0.8091, allocations: 1.076 MB / 0.8053 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000358/0.8095, allocations: 235.8 kB / 0.8055 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/0.8096, allocations: 12 kB / 0.8055 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005491/0.8101, allocations: 71.81 kB / 0.8056 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.712e-05/0.8102, allocations: 39.91 kB / 0.8056 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.673e-05/0.8103, allocations: 16 kB / 0.8057 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006584/0.8109, allocations: 0.5068 MB / 0.8062 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8109, allocations: 0 / 0.8062 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000913/0.8118, allocations: 299.3 kB / 0.8064 GB, free: 11.69 MB / 0.6231 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005065/0.8124, allocations: 215.3 kB / 0.8066 GB, free: 11.49 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009841/0.8134, allocations: 0.6123 MB / 0.8072 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.8134, allocations: 0.625 kB / 0.8072 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003775/0.8138, allocations: 284.8 kB / 0.8075 GB, free: 10.6 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001964/0.8157, allocations: 443.6 kB / 0.8079 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003479/0.8192, allocations: 2.414 MB / 0.8103 GB, free: 7.715 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007061/0.82, allocations: 1.118 MB / 0.8114 GB, free: 6.57 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0009751/0.8209, allocations: 275.3 kB / 0.8117 GB, free: 6.297 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002062/0.8212, allocations: 75.42 kB / 0.8117 GB, free: 6.223 MB / 0.6231 GB Notification: Performance of SimCode: time 1.272e-06/0.8212, allocations: 4 kB / 0.8117 GB, free: 6.219 MB / 0.6231 GB Notification: Performance of Templates: time 0.02697/0.8481, allocations: 14.85 MB / 0.8262 GB, free: 7.617 MB / 0.6387 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)