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.0012/0.0012, allocations: 100.5 kB / 16.4 MB, free: 6.461 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.001171/0.001171, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.389/1.389, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8641/0.8641, allocations: 135.1 MB / 426.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 63.91 kB / 0.5863 GB, free: 21.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1545, allocations: 80.93 MB / 0.6653 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.569/0.7235, allocations: 195.1 MB / 0.8558 GB, free: 9.527 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01889/0.7424, allocations: 14.31 MB / 0.8698 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001478/0.744, allocations: 35.81 kB / 0.8698 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001868/0.7459, allocations: 0.4929 MB / 0.8703 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005064/0.751, allocations: 1.89 MB / 0.8722 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002606/0.7536, allocations: 0.8638 MB / 0.873 GB, free: 10.44 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003595/0.7572, allocations: 2.577 MB / 0.8755 GB, free: 7.852 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001895/0.7591, allocations: 1.112 MB / 0.8766 GB, free: 6.719 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004398/0.7635, allocations: 1.623 MB / 0.8782 GB, free: 5.113 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001768/0.7653, allocations: 0.9212 MB / 0.8791 GB, free: 4.191 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003521/0.7657, allocations: 108 kB / 0.8792 GB, free: 4.086 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00247/0.7682, allocations: 1.095 MB / 0.8803 GB, free: 2.988 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006523/0.7688, allocations: 0.5026 MB / 0.8808 GB, free: 2.484 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001191/0.77, allocations: 0.6338 MB / 0.8814 GB, free: 1.848 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003183/0.7732, allocations: 1.912 MB / 0.8832 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.7732, allocations: 0 / 0.8832 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.984e-06/0.7733, allocations: 4 kB / 0.8833 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.932e-05/0.7733, allocations: 0 / 0.8833 GB, free: 15.93 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.002686/0.776, allocations: 1.46 MB / 0.8847 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.7761, allocations: 9.109 kB / 0.8847 GB, free: 14.4 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00148/0.7775, allocations: 246.4 kB / 0.8849 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001359/0.7789, allocations: 0.796 MB / 0.8857 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.301e-05/0.779, allocations: 66 kB / 0.8858 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001367/0.7791, allocations: 96 kB / 0.8859 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001843/0.781, allocations: 1.176 MB / 0.887 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.912e-05/0.781, allocations: 7.938 kB / 0.887 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.46e-05/0.7811, allocations: 36 kB / 0.887 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.675e-05/0.7812, allocations: 34 kB / 0.8871 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00146/0.7826, allocations: 0.9015 MB / 0.888 GB, free: 10.94 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.005941/0.7886, allocations: 5.735 MB / 0.8936 GB, free: 4.746 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007665/0.7894, allocations: 0.5289 MB / 0.8941 GB, free: 4.211 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000461/0.7898, allocations: 318.6 kB / 0.8944 GB, free: 3.898 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006075/0.7905, allocations: 311.8 kB / 0.8947 GB, free: 3.539 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.745e-05/0.7905, allocations: 42.98 kB / 0.8947 GB, free: 3.484 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=49): time 2.504e-06/0.7905, allocations: 0 / 0.8947 GB, free: 3.484 MB / 0.6544 GB Notification: Performance of matching and sorting (n=49): time 0.001568/0.7921, allocations: 0.7909 MB / 0.8955 GB, free: 2.688 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.7922, allocations: 63.78 kB / 0.8955 GB, free: 2.613 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/0.7932, allocations: 0.7548 MB / 0.8963 GB, free: 1.852 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.19e-05/0.7933, allocations: 37.7 kB / 0.8963 GB, free: 1.809 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000421/0.7937, allocations: 0.5104 MB / 0.8968 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001836/0.7939, allocations: 181.4 kB / 0.897 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002136/0.7941, allocations: 142.5 kB / 0.8971 GB, free: 0.9648 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.7942, allocations: 337.9 kB / 0.8975 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003718/0.7946, allocations: 241.9 kB / 0.8977 GB, free: 404 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006295/0.7953, allocations: 0.5605 MB / 0.8982 GB, free: 15.7 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/0.7963, allocations: 0.7995 MB / 0.899 GB, free: 14.79 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.909e-06/0.7963, allocations: 4 kB / 0.899 GB, free: 14.79 MB / 0.67 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001321/0.7976, allocations: 0.8391 MB / 0.8998 GB, free: 13.94 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.7977, allocations: 12.03 kB / 0.8998 GB, free: 13.93 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/0.7977, allocations: 8 kB / 0.8999 GB, free: 13.92 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.663e-05/0.7977, allocations: 12 kB / 0.8999 GB, free: 13.91 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005753/0.7983, allocations: 159.8 kB / 0.9 GB, free: 13.75 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.647e-05/0.7983, allocations: 23.86 kB / 0.9 GB, free: 13.73 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007921/0.7991, allocations: 87.11 kB / 0.9001 GB, free: 13.64 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.548e-05/0.7992, allocations: 32 kB / 0.9002 GB, free: 13.61 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.0005137/0.7997, allocations: 341.4 kB / 0.9005 GB, free: 13.27 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001984/0.7999, allocations: 82.97 kB / 0.9006 GB, free: 13.19 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001044/0.801, allocations: 0.6102 MB / 0.9012 GB, free: 12.57 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.801, allocations: 4 kB / 0.9012 GB, free: 12.56 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.801, allocations: 3.938 kB / 0.9012 GB, free: 12.56 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007121/0.8017, allocations: 0.5172 MB / 0.9017 GB, free: 12.03 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002493/0.8042, allocations: 1.674 MB / 0.9033 GB, free: 10.28 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.8043, allocations: 0 / 0.9033 GB, free: 10.28 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005432/0.8048, allocations: 115.8 kB / 0.9034 GB, free: 10.16 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.081e-05/0.8048, allocations: 8.219 kB / 0.9034 GB, free: 10.16 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.943e-05/0.8049, allocations: 12 kB / 0.9034 GB, free: 10.14 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.973e-06/0.8049, allocations: 4 kB / 0.9034 GB, free: 10.14 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.8049, allocations: 0 / 0.9034 GB, free: 10.14 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001417/0.8063, allocations: 1.058 MB / 0.9045 GB, free: 9.043 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003786/0.8067, allocations: 227.9 kB / 0.9047 GB, free: 8.801 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001383/0.8069, allocations: 8 kB / 0.9047 GB, free: 8.793 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004928/0.8074, allocations: 19.98 kB / 0.9047 GB, free: 8.773 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.881e-05/0.8074, allocations: 35.95 kB / 0.9047 GB, free: 8.738 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.498e-05/0.8075, allocations: 19.94 kB / 0.9048 GB, free: 8.719 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007195/0.8082, allocations: 0.5107 MB / 0.9053 GB, free: 8.211 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8082, allocations: 0 / 0.9053 GB, free: 8.211 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.000966/0.8092, allocations: 291.4 kB / 0.9055 GB, free: 7.926 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.0005429/0.8097, allocations: 223 kB / 0.9058 GB, free: 7.715 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001/0.8107, allocations: 0.6105 MB / 0.9064 GB, free: 7.102 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.8108, allocations: 3.938 kB / 0.9064 GB, free: 7.098 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0003591/0.8111, allocations: 273.4 kB / 0.9066 GB, free: 6.832 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001966/0.8131, allocations: 445.3 kB / 0.907 GB, free: 6.418 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003283/0.8164, allocations: 1.983 MB / 0.909 GB, free: 4.375 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007709/0.8172, allocations: 1.125 MB / 0.9101 GB, free: 3.223 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002509/0.8174, allocations: 79.42 kB / 0.9102 GB, free: 3.145 MB / 0.67 GB Notification: Performance of SimCode: time 9.21e-07/0.8175, allocations: 0 / 0.9102 GB, free: 3.145 MB / 0.67 GB Notification: Performance of Templates: time 0.02238/0.8398, allocations: 14.7 MB / 0.9245 GB, free: 4.547 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)