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.001543/0.001544, allocations: 106.3 kB / 16.27 MB, free: 5.969 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.001381/0.001382, allocations: 189.1 kB / 17.19 MB, free: 5.594 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.315/1.315, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7941/0.7941, allocations: 135.2 MB / 426.2 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00185/0.00185, allocations: 67.91 kB / 0.506 GB, free: 8.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3459/0.3478, allocations: 80.91 MB / 0.5851 GB, free: 25.35 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.5169/0.8647, allocations: 195.1 MB / 0.7756 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01465/0.8794, allocations: 14.32 MB / 0.7895 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001588/0.8811, allocations: 40.5 kB / 0.7896 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001359/0.8824, allocations: 498.7 kB / 0.79 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004066/0.8866, allocations: 1.88 MB / 0.7919 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002125/0.8887, allocations: 0.8552 MB / 0.7927 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002476/0.8912, allocations: 2.576 MB / 0.7952 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001214/0.8924, allocations: 1.123 MB / 0.7963 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003571/0.896, allocations: 1.595 MB / 0.7979 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001257/0.8972, allocations: 0.9258 MB / 0.7988 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001504/0.8974, allocations: 106.8 kB / 0.7989 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001942/0.8994, allocations: 1.096 MB / 0.8 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003726/0.8997, allocations: 0.4917 MB / 0.8004 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005832/0.9003, allocations: 0.638 MB / 0.8011 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00189/0.9022, allocations: 1.892 MB / 0.8029 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.9022, allocations: 2.812 kB / 0.8029 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.423e-06/0.9023, allocations: 0.9062 kB / 0.8029 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.576e-05/0.9023, allocations: 3.938 kB / 0.8029 GB, free: 0.8242 MB / 0.5762 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.001893/0.9042, allocations: 1.447 MB / 0.8043 GB, free: 16.05 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.9042, allocations: 11.86 kB / 0.8043 GB, free: 16.05 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001208/0.9054, allocations: 254.9 kB / 0.8046 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009608/0.9064, allocations: 0.7569 MB / 0.8053 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.459e-05/0.9065, allocations: 69.72 kB / 0.8054 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/0.9066, allocations: 93.34 kB / 0.8055 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001352/0.9079, allocations: 1.167 MB / 0.8066 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/0.908, allocations: 6.344 kB / 0.8066 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.911e-05/0.908, allocations: 45.47 kB / 0.8067 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.404e-05/0.9081, allocations: 37.16 kB / 0.8067 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001063/0.9092, allocations: 0.9015 MB / 0.8076 GB, free: 15.42 MB / 0.5919 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.005269/0.9144, allocations: 5.755 MB / 0.8132 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006443/0.9151, allocations: 0.5277 MB / 0.8137 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003345/0.9154, allocations: 324 kB / 0.814 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005848/0.916, allocations: 311.5 kB / 0.8143 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/0.9161, allocations: 40.28 kB / 0.8144 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=49): time 2.464e-06/0.9161, allocations: 0.9375 kB / 0.8144 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49): time 0.00125/0.9173, allocations: 0.7998 MB / 0.8152 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.9174, allocations: 57.91 kB / 0.8152 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007186/0.9181, allocations: 0.7428 MB / 0.8159 GB, free: 11 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.13e-05/0.9182, allocations: 38.36 kB / 0.816 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003501/0.9185, allocations: 0.5189 MB / 0.8165 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001688/0.9187, allocations: 171.3 kB / 0.8166 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001857/0.9189, allocations: 142.9 kB / 0.8168 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.9191, allocations: 341.4 kB / 0.8171 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003026/0.9194, allocations: 250.4 kB / 0.8173 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005933/0.92, allocations: 0.5553 MB / 0.8179 GB, free: 9.926 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009592/0.921, allocations: 0.7983 MB / 0.8187 GB, free: 9.637 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.921, allocations: 2.75 kB / 0.8187 GB, free: 9.637 MB / 0.5919 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001059/0.922, allocations: 0.8437 MB / 0.8195 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.9221, allocations: 10.47 kB / 0.8195 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.9221, allocations: 7.094 kB / 0.8195 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.325e-05/0.9221, allocations: 11.47 kB / 0.8195 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005098/0.9226, allocations: 159.5 kB / 0.8197 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.989e-05/0.9227, allocations: 23.33 kB / 0.8197 GB, free: 9.543 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006696/0.9233, allocations: 97.48 kB / 0.8198 GB, free: 9.488 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.968e-05/0.9234, allocations: 35.38 kB / 0.8198 GB, free: 9.488 MB / 0.5919 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.0003656/0.9238, allocations: 328.2 kB / 0.8201 GB, free: 9.371 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/0.9239, allocations: 84.69 kB / 0.8202 GB, free: 9.328 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008115/0.9247, allocations: 0.6165 MB / 0.8208 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.9247, allocations: 8.562 kB / 0.8208 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.9247, allocations: 3.938 kB / 0.8208 GB, free: 9.262 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005783/0.9253, allocations: 0.5198 MB / 0.8213 GB, free: 9.184 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002098/0.9274, allocations: 1.658 MB / 0.823 GB, free: 8.805 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.9274, allocations: 2.594 kB / 0.823 GB, free: 8.805 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004874/0.9279, allocations: 112.2 kB / 0.8231 GB, free: 8.805 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.889e-06/0.928, allocations: 3.875 kB / 0.8231 GB, free: 8.805 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.552e-05/0.928, allocations: 18.48 kB / 0.8231 GB, free: 8.801 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.928, allocations: 5.406 kB / 0.8231 GB, free: 8.801 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.928, allocations: 5.688 kB / 0.8231 GB, free: 8.801 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00121/0.9292, allocations: 1.061 MB / 0.8241 GB, free: 8.547 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002877/0.9295, allocations: 223.8 kB / 0.8243 GB, free: 8.379 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.954e-05/0.9296, allocations: 13.48 kB / 0.8244 GB, free: 8.371 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000416/0.9301, allocations: 17.64 kB / 0.8244 GB, free: 8.363 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.776e-05/0.9301, allocations: 31.86 kB / 0.8244 GB, free: 8.359 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.213e-05/0.9302, allocations: 20.34 kB / 0.8244 GB, free: 8.355 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005776/0.9307, allocations: 0.5082 MB / 0.8249 GB, free: 8.145 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9308, allocations: 0 / 0.8249 GB, free: 8.145 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008043/0.9316, allocations: 307 kB / 0.8252 GB, free: 8.078 MB / 0.5919 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.0004863/0.9321, allocations: 217.7 kB / 0.8254 GB, free: 7.953 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001003/0.9331, allocations: 0.7051 MB / 0.8261 GB, free: 7.773 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.9331, allocations: 4.25 kB / 0.8261 GB, free: 7.77 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003278/0.9334, allocations: 275.8 kB / 0.8264 GB, free: 7.691 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001781/0.9352, allocations: 444 kB / 0.8268 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002873/0.9381, allocations: 2.007 MB / 0.8288 GB, free: 6.453 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000708/0.9388, allocations: 1.122 MB / 0.8299 GB, free: 5.703 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001909/0.939, allocations: 83.61 kB / 0.8299 GB, free: 5.691 MB / 0.5919 GB Notification: Performance of SimCode: time 3.1e-07/0.939, allocations: 0 / 0.8299 GB, free: 5.691 MB / 0.5919 GB Notification: Performance of Templates: time 0.02172/0.9607, allocations: 14.6 MB / 0.8442 GB, free: 8.773 MB / 0.6075 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)