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.00806/0.00806, allocations: 104.1 kB / 15.73 MB, free: 5.578 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.001797/0.001797, allocations: 189.7 kB / 16.67 MB, free: 5.516 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9139/0.9139, allocations: 135.1 MB / 425.7 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 68.69 kB / 0.5856 GB, free: 21.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1779/0.1791, allocations: 80.93 MB / 0.6647 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.6474/0.8266, allocations: 195.1 MB / 0.8552 GB, free: 9.527 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01625/0.8429, allocations: 14.3 MB / 0.8691 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001328/0.8442, allocations: 35.81 kB / 0.8692 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001468/0.8457, allocations: 0.5163 MB / 0.8697 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004487/0.8503, allocations: 1.956 MB / 0.8716 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002243/0.8525, allocations: 0.8712 MB / 0.8724 GB, free: 10.33 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0036/0.8561, allocations: 2.581 MB / 0.875 GB, free: 7.738 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001469/0.8576, allocations: 1.107 MB / 0.876 GB, free: 6.609 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003987/0.8616, allocations: 1.649 MB / 0.8777 GB, free: 4.977 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002107/0.8637, allocations: 0.9292 MB / 0.8786 GB, free: 4.047 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003032/0.8641, allocations: 104 kB / 0.8787 GB, free: 3.945 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002902/0.867, allocations: 1.107 MB / 0.8797 GB, free: 2.836 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005317/0.8675, allocations: 0.4987 MB / 0.8802 GB, free: 2.336 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0008447/0.8684, allocations: 0.6338 MB / 0.8808 GB, free: 1.699 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003308/0.8717, allocations: 1.92 MB / 0.8827 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.8717, allocations: 0 / 0.8827 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.054e-06/0.8717, allocations: 0 / 0.8827 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.958e-05/0.8717, allocations: 0 / 0.8827 GB, free: 15.77 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.002358/0.8741, allocations: 1.457 MB / 0.8841 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.8742, allocations: 9.109 kB / 0.8842 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001412/0.8756, allocations: 254.4 kB / 0.8844 GB, free: 14 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001341/0.8769, allocations: 0.7921 MB / 0.8852 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.007e-05/0.877, allocations: 73.98 kB / 0.8852 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001416/0.8772, allocations: 96 kB / 0.8853 GB, free: 13 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001725/0.8789, allocations: 1.174 MB / 0.8865 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.839e-05/0.8789, allocations: 3.938 kB / 0.8865 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.017e-05/0.879, allocations: 40 kB / 0.8865 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.044e-05/0.8791, allocations: 30 kB / 0.8865 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00138/0.8804, allocations: 0.8976 MB / 0.8874 GB, free: 10.79 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.005573/0.886, allocations: 5.743 MB / 0.893 GB, free: 4.59 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008071/0.8868, allocations: 0.5289 MB / 0.8936 GB, free: 4.055 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004154/0.8873, allocations: 314.6 kB / 0.8939 GB, free: 3.746 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000594/0.8879, allocations: 311.8 kB / 0.8941 GB, free: 3.387 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.8879, allocations: 42.98 kB / 0.8942 GB, free: 3.332 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=49): time 2.505e-06/0.8879, allocations: 0 / 0.8942 GB, free: 3.332 MB / 0.6544 GB Notification: Performance of matching and sorting (n=49): time 0.001522/0.8895, allocations: 0.7987 MB / 0.895 GB, free: 2.527 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.8895, allocations: 55.84 kB / 0.895 GB, free: 2.461 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001007/0.8905, allocations: 0.7586 MB / 0.8958 GB, free: 1.695 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.693e-05/0.8906, allocations: 37.7 kB / 0.8958 GB, free: 1.652 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000436/0.891, allocations: 0.5143 MB / 0.8963 GB, free: 1.129 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001494/0.8912, allocations: 177.5 kB / 0.8965 GB, free: 0.9531 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002238/0.8914, allocations: 142.5 kB / 0.8966 GB, free: 0.8086 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.8916, allocations: 330 kB / 0.8969 GB, free: 492 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000374/0.8919, allocations: 253.8 kB / 0.8972 GB, free: 240 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006234/0.8926, allocations: 0.5583 MB / 0.8977 GB, free: 15.54 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009947/0.8936, allocations: 0.7995 MB / 0.8985 GB, free: 14.63 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.022e-06/0.8936, allocations: 0 / 0.8985 GB, free: 14.63 MB / 0.67 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001196/0.8948, allocations: 0.8459 MB / 0.8993 GB, free: 13.78 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.8948, allocations: 8.969 kB / 0.8993 GB, free: 13.77 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/0.8948, allocations: 8 kB / 0.8993 GB, free: 13.76 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.801e-05/0.8949, allocations: 16 kB / 0.8993 GB, free: 13.75 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000592/0.8955, allocations: 151.8 kB / 0.8995 GB, free: 13.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.51e-05/0.8955, allocations: 27.8 kB / 0.8995 GB, free: 13.57 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007358/0.8963, allocations: 87.11 kB / 0.8996 GB, free: 13.48 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.216e-05/0.8963, allocations: 38.66 kB / 0.8996 GB, free: 13.45 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.0004902/0.8968, allocations: 329.5 kB / 0.9 GB, free: 13.12 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001703/0.897, allocations: 86.97 kB / 0.9 GB, free: 13.03 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001044/0.8981, allocations: 0.6141 MB / 0.9006 GB, free: 12.41 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.8981, allocations: 4 kB / 0.9006 GB, free: 12.4 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/0.8981, allocations: 7.938 kB / 0.9006 GB, free: 12.39 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000709/0.8988, allocations: 0.5172 MB / 0.9012 GB, free: 11.87 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002324/0.9011, allocations: 1.67 MB / 0.9028 GB, free: 10.12 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.9012, allocations: 0 / 0.9028 GB, free: 10.12 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005332/0.9017, allocations: 115.8 kB / 0.9029 GB, free: 10.01 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.084e-06/0.9017, allocations: 4 kB / 0.9029 GB, free: 10 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.908e-05/0.9018, allocations: 16 kB / 0.9029 GB, free: 9.988 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.092e-06/0.9018, allocations: 4.219 kB / 0.9029 GB, free: 9.984 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.9018, allocations: 4 kB / 0.9029 GB, free: 9.98 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001335/0.9031, allocations: 1.054 MB / 0.9039 GB, free: 8.887 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003234/0.9034, allocations: 227.9 kB / 0.9042 GB, free: 8.645 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/0.9036, allocations: 12 kB / 0.9042 GB, free: 8.633 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000465/0.904, allocations: 19.98 kB / 0.9042 GB, free: 8.613 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.878e-05/0.9041, allocations: 31.95 kB / 0.9042 GB, free: 8.582 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.843e-05/0.9042, allocations: 19.94 kB / 0.9042 GB, free: 8.562 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006498/0.9048, allocations: 0.5146 MB / 0.9047 GB, free: 8.051 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.442e-06/0.9048, allocations: 0 / 0.9047 GB, free: 8.051 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0008809/0.9057, allocations: 295.3 kB / 0.905 GB, free: 7.762 MB / 0.67 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.0004615/0.9062, allocations: 204.6 kB / 0.9052 GB, free: 7.562 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0009408/0.9071, allocations: 0.6115 MB / 0.9058 GB, free: 6.949 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.9071, allocations: 4 kB / 0.9058 GB, free: 6.945 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0003802/0.9075, allocations: 271.7 kB / 0.9061 GB, free: 6.68 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001904/0.9094, allocations: 449.5 kB / 0.9065 GB, free: 6.258 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002781/0.9122, allocations: 1.903 MB / 0.9084 GB, free: 4.301 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006816/0.9129, allocations: 1.125 MB / 0.9095 GB, free: 3.148 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0007342/0.9137, allocations: 259.1 kB / 0.9097 GB, free: 2.891 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001785/0.9139, allocations: 71.36 kB / 0.9098 GB, free: 2.82 MB / 0.67 GB Notification: Performance of SimCode: time 3.2e-07/0.9139, allocations: 0 / 0.9098 GB, free: 2.82 MB / 0.67 GB Notification: Performance of Templates: time 0.02588/0.9398, allocations: 15.62 MB / 0.925 GB, free: 3.41 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)