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.001468/0.001468, allocations: 106.7 kB / 16.41 MB, free: 6.473 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.00144/0.00144, allocations: 187 kB / 17.34 MB, free: 5.754 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.33/1.33, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8353/0.8353, allocations: 132.2 MB / 423.4 MB, free: 6.617 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 64.8 kB / 0.582 GB, free: 23.89 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1803/0.1816, allocations: 80.23 MB / 0.6604 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.6126/0.7942, allocations: 195.1 MB / 0.8509 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02003/0.8143, allocations: 14.29 MB / 0.8648 GB, free: 3.789 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001841/0.8162, allocations: 37.31 kB / 0.8649 GB, free: 3.777 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002056/0.8182, allocations: 0.5108 MB / 0.8654 GB, free: 3.344 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006104/0.8244, allocations: 1.874 MB / 0.8672 GB, free: 1.906 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002821/0.8273, allocations: 0.8703 MB / 0.868 GB, free: 1.246 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003482/0.8308, allocations: 2.574 MB / 0.8706 GB, free: 14.69 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001801/0.8326, allocations: 1.109 MB / 0.8716 GB, free: 13.56 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004397/0.837, allocations: 1.609 MB / 0.8732 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001973/0.839, allocations: 0.9144 MB / 0.8741 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003639/0.8394, allocations: 108 kB / 0.8742 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002702/0.8421, allocations: 1.099 MB / 0.8753 GB, free: 9.844 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006976/0.8428, allocations: 0.4987 MB / 0.8758 GB, free: 9.344 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001333/0.8441, allocations: 0.6338 MB / 0.8764 GB, free: 8.707 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00327/0.8474, allocations: 1.92 MB / 0.8783 GB, free: 6.781 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.8474, allocations: 0 / 0.8783 GB, free: 6.781 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.176e-06/0.8474, allocations: 3.984 kB / 0.8783 GB, free: 6.777 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.802e-05/0.8475, allocations: 0 / 0.8783 GB, free: 6.777 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.002935/0.8504, allocations: 1.453 MB / 0.8797 GB, free: 5.27 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.8505, allocations: 8.031 kB / 0.8797 GB, free: 5.262 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001494/0.852, allocations: 254.4 kB / 0.8799 GB, free: 5.012 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001486/0.8535, allocations: 0.7882 MB / 0.8807 GB, free: 4.18 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.206e-05/0.8535, allocations: 74 kB / 0.8808 GB, free: 4.105 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001802/0.8537, allocations: 96 kB / 0.8809 GB, free: 4.012 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001854/0.8556, allocations: 1.169 MB / 0.882 GB, free: 2.773 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.876e-05/0.8556, allocations: 3.938 kB / 0.882 GB, free: 2.77 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.519e-05/0.8557, allocations: 40 kB / 0.882 GB, free: 2.73 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.347e-05/0.8558, allocations: 30 kB / 0.8821 GB, free: 2.699 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001448/0.8572, allocations: 0.9016 MB / 0.883 GB, free: 1.797 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.005747/0.863, allocations: 5.735 MB / 0.8886 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007442/0.8638, allocations: 0.5357 MB / 0.8891 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004171/0.8642, allocations: 317.2 kB / 0.8894 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005731/0.8648, allocations: 315.7 kB / 0.8897 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/0.8648, allocations: 39 kB / 0.8897 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=49): time 2.334e-06/0.8648, allocations: 0 / 0.8897 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of matching and sorting (n=49): time 0.001516/0.8664, allocations: 0.7948 MB / 0.8905 GB, free: 9.535 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.118e-05/0.8664, allocations: 67.78 kB / 0.8906 GB, free: 9.457 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009372/0.8674, allocations: 0.7586 MB / 0.8913 GB, free: 8.691 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.558e-05/0.8674, allocations: 37.7 kB / 0.8913 GB, free: 8.648 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003516/0.8678, allocations: 0.5026 MB / 0.8918 GB, free: 8.137 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001557/0.8679, allocations: 177.5 kB / 0.892 GB, free: 7.961 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002009/0.8681, allocations: 142.5 kB / 0.8921 GB, free: 7.816 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.8683, allocations: 337.9 kB / 0.8925 GB, free: 7.48 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003627/0.8686, allocations: 249.8 kB / 0.8927 GB, free: 7.234 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000573/0.8692, allocations: 0.5605 MB / 0.8932 GB, free: 6.535 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009508/0.8702, allocations: 0.7995 MB / 0.894 GB, free: 5.625 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.8702, allocations: 4 kB / 0.894 GB, free: 5.621 MB / 0.6544 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001294/0.8715, allocations: 0.8466 MB / 0.8949 GB, free: 4.766 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.8715, allocations: 8 kB / 0.8949 GB, free: 4.758 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.8716, allocations: 8 kB / 0.8949 GB, free: 4.75 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.919e-05/0.8716, allocations: 12 kB / 0.8949 GB, free: 4.738 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005592/0.8721, allocations: 155.7 kB / 0.895 GB, free: 4.586 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.185e-05/0.8722, allocations: 19.88 kB / 0.895 GB, free: 4.566 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007405/0.8729, allocations: 83.2 kB / 0.8951 GB, free: 4.484 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.483e-05/0.873, allocations: 40.17 kB / 0.8952 GB, free: 4.445 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.0004331/0.8734, allocations: 333.4 kB / 0.8955 GB, free: 4.109 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001582/0.8736, allocations: 90.88 kB / 0.8956 GB, free: 4.02 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000972/0.8746, allocations: 0.618 MB / 0.8962 GB, free: 3.398 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.8746, allocations: 4 kB / 0.8962 GB, free: 3.395 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.8746, allocations: 3.938 kB / 0.8962 GB, free: 3.391 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000683/0.8753, allocations: 0.5172 MB / 0.8967 GB, free: 2.859 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002412/0.8777, allocations: 1.659 MB / 0.8983 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.8777, allocations: 4 kB / 0.8983 GB, free: 1.117 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005115/0.8783, allocations: 116 kB / 0.8984 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.706e-06/0.8783, allocations: 4 kB / 0.8984 GB, free: 1 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.268e-05/0.8783, allocations: 19.98 kB / 0.8984 GB, free: 0.9805 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.8783, allocations: 0 / 0.8984 GB, free: 0.9805 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/0.8784, allocations: 4 kB / 0.8984 GB, free: 0.9766 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001321/0.8797, allocations: 1.054 MB / 0.8995 GB, free: 15.89 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003434/0.88, allocations: 227.9 kB / 0.8997 GB, free: 15.64 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/0.8802, allocations: 12 kB / 0.8997 GB, free: 15.63 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004869/0.8807, allocations: 19.98 kB / 0.8997 GB, free: 15.61 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.43e-05/0.8807, allocations: 31.97 kB / 0.8998 GB, free: 15.58 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.277e-05/0.8808, allocations: 23.92 kB / 0.8998 GB, free: 15.56 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006512/0.8814, allocations: 0.5107 MB / 0.9003 GB, free: 15.05 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.6e-07/0.8815, allocations: 0 / 0.9003 GB, free: 15.05 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009325/0.8824, allocations: 291.4 kB / 0.9006 GB, free: 14.77 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.0005345/0.8829, allocations: 212.3 kB / 0.9008 GB, free: 14.57 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00099/0.8839, allocations: 0.6123 MB / 0.9014 GB, free: 13.96 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/0.884, allocations: 0 / 0.9014 GB, free: 13.96 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0003681/0.8843, allocations: 279.9 kB / 0.9016 GB, free: 13.68 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001969/0.8863, allocations: 440.6 kB / 0.902 GB, free: 13.28 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003198/0.8895, allocations: 1.987 MB / 0.904 GB, free: 11.23 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007495/0.8903, allocations: 1.126 MB / 0.9051 GB, free: 10.08 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002542/0.8905, allocations: 79.42 kB / 0.9052 GB, free: 10 MB / 0.67 GB Notification: Performance of SimCode: time 8.62e-07/0.8906, allocations: 0 / 0.9052 GB, free: 10 MB / 0.67 GB Notification: Performance of Templates: time 0.02257/0.9131, allocations: 14.6 MB / 0.9194 GB, free: 11.54 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)