Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.Sensors.Examples.TraceSubstances") translateModel(IDEAS.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.005468/0.005468, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001161/0.001161, allocations: 191.5 kB / 16.67 MB, free: 5.523 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.804/0.804, allocations: 132.2 MB / 422.7 MB, free: 6.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 63.78 kB / 0.5814 GB, free: 23.97 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.1871, allocations: 80.21 MB / 0.6597 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.6986/0.8857, allocations: 195.1 MB / 0.8502 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01934/0.9051, allocations: 14.3 MB / 0.8642 GB, free: 3.902 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00204/0.9072, allocations: 34.84 kB / 0.8642 GB, free: 3.891 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001812/0.909, allocations: 0.5089 MB / 0.8647 GB, free: 3.465 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005842/0.9149, allocations: 1.965 MB / 0.8666 GB, free: 1.969 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002772/0.9177, allocations: 0.8699 MB / 0.8675 GB, free: 1.309 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004507/0.9222, allocations: 2.574 MB / 0.87 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001708/0.924, allocations: 1.116 MB / 0.8711 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005038/0.929, allocations: 1.65 MB / 0.8727 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001418/0.9304, allocations: 0.9287 MB / 0.8736 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000153/0.9306, allocations: 108 kB / 0.8737 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002386/0.933, allocations: 1.107 MB / 0.8748 GB, free: 9.902 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004704/0.9335, allocations: 0.4948 MB / 0.8753 GB, free: 9.406 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006757/0.9342, allocations: 0.6338 MB / 0.8759 GB, free: 8.77 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002445/0.9366, allocations: 1.916 MB / 0.8778 GB, free: 6.848 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.9366, allocations: 0 / 0.8778 GB, free: 6.848 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.104e-06/0.9366, allocations: 0 / 0.8778 GB, free: 6.848 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.683e-05/0.9367, allocations: 0 / 0.8778 GB, free: 6.848 MB / 0.6387 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.00225/0.9389, allocations: 1.457 MB / 0.8792 GB, free: 5.336 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.939, allocations: 12.03 kB / 0.8792 GB, free: 5.324 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001362/0.9403, allocations: 250.4 kB / 0.8794 GB, free: 5.078 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0012/0.9415, allocations: 0.792 MB / 0.8802 GB, free: 4.242 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.036e-05/0.9416, allocations: 73.98 kB / 0.8803 GB, free: 4.168 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001363/0.9418, allocations: 88 kB / 0.8804 GB, free: 4.082 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001685/0.9435, allocations: 1.177 MB / 0.8815 GB, free: 2.836 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.637e-05/0.9435, allocations: 3.938 kB / 0.8815 GB, free: 2.832 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.551e-05/0.9436, allocations: 36 kB / 0.8815 GB, free: 2.797 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.832e-05/0.9436, allocations: 37.98 kB / 0.8816 GB, free: 2.758 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001343/0.945, allocations: 0.8976 MB / 0.8825 GB, free: 1.859 MB / 0.6387 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.005472/0.9505, allocations: 5.739 MB / 0.8881 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007482/0.9512, allocations: 0.5357 MB / 0.8886 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004123/0.9516, allocations: 318.6 kB / 0.8889 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005947/0.9523, allocations: 311.7 kB / 0.8892 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.572e-05/0.9523, allocations: 47 kB / 0.8892 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=49): time 2.315e-06/0.9523, allocations: 0 / 0.8892 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of matching and sorting (n=49): time 0.001471/0.9538, allocations: 0.7987 MB / 0.89 GB, free: 9.582 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/0.9538, allocations: 55.84 kB / 0.8901 GB, free: 9.516 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000868/0.9547, allocations: 0.7625 MB / 0.8908 GB, free: 8.746 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.684e-05/0.9548, allocations: 37.7 kB / 0.8908 GB, free: 8.703 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003761/0.9552, allocations: 0.5027 MB / 0.8913 GB, free: 8.191 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001874/0.9554, allocations: 177.5 kB / 0.8915 GB, free: 8.016 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002188/0.9556, allocations: 142.5 kB / 0.8916 GB, free: 7.871 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000171/0.9558, allocations: 334 kB / 0.892 GB, free: 7.539 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003844/0.9562, allocations: 245.9 kB / 0.8922 GB, free: 7.297 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006242/0.9568, allocations: 0.5566 MB / 0.8927 GB, free: 6.602 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/0.9578, allocations: 0.8034 MB / 0.8935 GB, free: 5.688 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.174e-06/0.9579, allocations: 7.938 kB / 0.8935 GB, free: 5.68 MB / 0.6544 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001235/0.9591, allocations: 0.8419 MB / 0.8943 GB, free: 4.828 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.9591, allocations: 9 kB / 0.8944 GB, free: 4.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.9591, allocations: 8 kB / 0.8944 GB, free: 4.812 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.719e-05/0.9592, allocations: 16 kB / 0.8944 GB, free: 4.797 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005819/0.9598, allocations: 155.7 kB / 0.8945 GB, free: 4.645 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.698e-05/0.9598, allocations: 19.88 kB / 0.8945 GB, free: 4.625 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007507/0.9606, allocations: 83.2 kB / 0.8946 GB, free: 4.543 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.549e-05/0.9606, allocations: 32 kB / 0.8947 GB, free: 4.512 MB / 0.6544 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.0004583/0.9611, allocations: 329.5 kB / 0.895 GB, free: 4.18 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000141/0.9612, allocations: 90.88 kB / 0.8951 GB, free: 4.09 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009874/0.9622, allocations: 0.6141 MB / 0.8957 GB, free: 3.473 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.9622, allocations: 15.92 kB / 0.8957 GB, free: 3.457 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.9623, allocations: 3.938 kB / 0.8957 GB, free: 3.453 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006865/0.9629, allocations: 0.5134 MB / 0.8962 GB, free: 2.926 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002413/0.9654, allocations: 1.659 MB / 0.8978 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/0.9654, allocations: 7.984 kB / 0.8978 GB, free: 1.18 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000524/0.9659, allocations: 115.8 kB / 0.8979 GB, free: 1.066 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.947e-06/0.9659, allocations: 4 kB / 0.8979 GB, free: 1.062 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.212e-05/0.966, allocations: 15.98 kB / 0.8979 GB, free: 1.047 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/0.966, allocations: 4.219 kB / 0.8979 GB, free: 1.043 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.966, allocations: 8 kB / 0.8979 GB, free: 1.035 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00136/0.9674, allocations: 1.054 MB / 0.899 GB, free: 15.95 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00031/0.9677, allocations: 223.9 kB / 0.8992 GB, free: 15.71 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001307/0.9678, allocations: 16 kB / 0.8992 GB, free: 15.69 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005386/0.9684, allocations: 15.98 kB / 0.8992 GB, free: 15.68 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.296e-05/0.9685, allocations: 35.91 kB / 0.8993 GB, free: 15.64 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.685e-05/0.9685, allocations: 23.92 kB / 0.8993 GB, free: 15.62 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006956/0.9692, allocations: 0.5146 MB / 0.8998 GB, free: 15.11 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.5e-07/0.9692, allocations: 4 kB / 0.8998 GB, free: 15.1 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001022/0.9702, allocations: 287.4 kB / 0.9001 GB, free: 14.82 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.0006282/0.9709, allocations: 204.3 kB / 0.9002 GB, free: 14.63 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001018/0.9719, allocations: 0.6157 MB / 0.9009 GB, free: 14.02 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.9719, allocations: 0 / 0.9009 GB, free: 14.02 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0003879/0.9723, allocations: 275.4 kB / 0.9011 GB, free: 13.75 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002015/0.9744, allocations: 444 kB / 0.9015 GB, free: 13.34 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00333/0.9777, allocations: 1.903 MB / 0.9034 GB, free: 11.38 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008615/0.9786, allocations: 1.122 MB / 0.9045 GB, free: 10.23 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008383/0.9794, allocations: 275 kB / 0.9048 GB, free: 9.957 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002074/0.9796, allocations: 67.38 kB / 0.9048 GB, free: 9.891 MB / 0.67 GB Notification: Performance of SimCode: time 4.7e-07/0.9796, allocations: 0 / 0.9048 GB, free: 9.891 MB / 0.67 GB Notification: Performance of Templates: time 0.02951/1.009, allocations: 15.61 MB / 0.9201 GB, free: 10.51 MB / 0.6856 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)