Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.MassFraction.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.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.MassFraction") translateModel(IDEAS.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.MassFraction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008618/0.0008618, allocations: 101.5 kB / 15.06 MB, free: 1.094 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.0009054/0.0009055, allocations: 177.3 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.19/1.19, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8198/0.8198, allocations: 135.2 MB / 426.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002903/0.0002904, allocations: 8 kB / 0.5068 GB, free: 5.27 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1405, allocations: 82.32 MB / 0.5872 GB, free: 3.121 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MassFraction): time 0.4161/0.5566, allocations: 155.3 MB / 0.7389 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00695/0.5636, allocations: 4.454 MB / 0.7432 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007763/0.5644, allocations: 27.06 kB / 0.7432 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001245/0.5657, allocations: 432.4 kB / 0.7437 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00301/0.5687, allocations: 1.232 MB / 0.7449 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002288/0.571, allocations: 0.8498 MB / 0.7457 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001527/0.5725, allocations: 1.125 MB / 0.7468 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006028/0.5732, allocations: 0.4986 MB / 0.7473 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001285/0.5745, allocations: 0.7268 MB / 0.748 GB, free: 7.73 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004279/0.5749, allocations: 370.8 kB / 0.7483 GB, free: 7.426 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.938e-05/0.575, allocations: 31.94 kB / 0.7484 GB, free: 7.395 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001349/0.5763, allocations: 0.6878 MB / 0.749 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002131/0.5765, allocations: 220.9 kB / 0.7492 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001416/0.5767, allocations: 177.3 kB / 0.7494 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0009064/0.5776, allocations: 0.9207 MB / 0.7503 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.5776, allocations: 0 / 0.7503 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.393e-06/0.5776, allocations: 3.938 kB / 0.7503 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.834e-06/0.5776, allocations: 4 kB / 0.7503 GB, free: 5.547 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001297/0.5789, allocations: 0.9213 MB / 0.7512 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.579, allocations: 12.03 kB / 0.7512 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00112/0.5801, allocations: 206.9 kB / 0.7514 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008254/0.5809, allocations: 0.564 MB / 0.752 GB, free: 3.762 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.02e-05/0.581, allocations: 37.31 kB / 0.752 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.665e-05/0.5811, allocations: 52 kB / 0.7521 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008629/0.5819, allocations: 0.6167 MB / 0.7527 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.906e-05/0.582, allocations: 3.938 kB / 0.7527 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.07e-05/0.582, allocations: 20 kB / 0.7527 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.741e-05/0.582, allocations: 21.31 kB / 0.7527 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006924/0.5827, allocations: 496.9 kB / 0.7532 GB, free: 2.512 MB / 0.5606 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.002618/0.5854, allocations: 2.388 MB / 0.7555 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004896/0.5859, allocations: 372.8 kB / 0.7559 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000342/0.5862, allocations: 141 kB / 0.756 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.5863, allocations: 42.56 kB / 0.756 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=36): time 1.352e-06/0.5863, allocations: 0 / 0.756 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of matching and sorting (n=36): time 0.0009821/0.5873, allocations: 0.5409 MB / 0.7566 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/0.5873, allocations: 55.41 kB / 0.7566 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005159/0.5878, allocations: 0.4912 MB / 0.7571 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.595e-05/0.5879, allocations: 29.7 kB / 0.7571 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002111/0.5881, allocations: 324.5 kB / 0.7574 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.5882, allocations: 138 kB / 0.7576 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.876e-05/0.5882, allocations: 4 kB / 0.7576 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.5884, allocations: 366.7 kB / 0.7579 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000197/0.5886, allocations: 144.7 kB / 0.7581 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002794/0.5889, allocations: 264.6 kB / 0.7583 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002537/0.5892, allocations: 185.5 kB / 0.7585 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.5892, allocations: 0 / 0.7585 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.000624/0.5898, allocations: 482.2 kB / 0.759 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002982/0.5901, allocations: 0.8732 MB / 0.7598 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.5901, allocations: 4 kB / 0.7598 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.5901, allocations: 4 kB / 0.7598 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005415/0.5907, allocations: 107.8 kB / 0.7599 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003309/0.591, allocations: 0.5861 MB / 0.7605 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004965/0.5915, allocations: 71.59 kB / 0.7606 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.642e-05/0.5916, allocations: 27.88 kB / 0.7606 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.813e-06/0.5916, allocations: 4 kB / 0.7606 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005367/0.5921, allocations: 395.7 kB / 0.761 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.5921, allocations: 4 kB / 0.761 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.769e-06/0.5921, allocations: 4 kB / 0.761 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003315/0.5925, allocations: 93.2 kB / 0.7611 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.87e-06/0.5925, allocations: 4 kB / 0.7611 GB, free: 10 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004393/0.5929, allocations: 64.97 kB / 0.7611 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.839e-05/0.593, allocations: 16 kB / 0.7611 GB, free: 9.926 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002694/0.5933, allocations: 308.9 kB / 0.7614 GB, free: 9.613 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.884e-05/0.5933, allocations: 59.3 kB / 0.7615 GB, free: 9.555 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006296/0.594, allocations: 448.7 kB / 0.7619 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.594, allocations: 4 kB / 0.7619 GB, free: 9.102 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.594, allocations: 4.875 kB / 0.7619 GB, free: 9.098 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005419/0.5945, allocations: 0.646 MB / 0.7626 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001509/0.5961, allocations: 1.211 MB / 0.7637 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.5961, allocations: 0 / 0.7637 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004241/0.5965, allocations: 93.27 kB / 0.7638 GB, free: 6.988 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.261e-06/0.5965, allocations: 4 kB / 0.7638 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.523e-05/0.5966, allocations: 8 kB / 0.7638 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002687/0.5968, allocations: 0.6018 MB / 0.7644 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.5968, allocations: 0 / 0.7644 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008458/0.5977, allocations: 0.815 MB / 0.7652 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002124/0.5979, allocations: 180.3 kB / 0.7654 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.292e-05/0.598, allocations: 23.88 kB / 0.7654 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004026/0.5984, allocations: 39.91 kB / 0.7655 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.366e-05/0.5985, allocations: 24.06 kB / 0.7655 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.544e-05/0.5985, allocations: 13.17 kB / 0.7655 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003437/0.5988, allocations: 358.8 kB / 0.7658 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.21e-07/0.5988, allocations: 0 / 0.7658 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008016/0.5997, allocations: 347.1 kB / 0.7662 GB, free: 4.477 MB / 0.5762 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],senMasFra1.X) * 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 (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003591/0.6, allocations: 180.2 kB / 0.7663 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009964/0.601, allocations: 0.593 MB / 0.7669 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.601, allocations: 0 / 0.7669 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002807/0.6013, allocations: 190.2 kB / 0.7671 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001525/0.6029, allocations: 352.8 kB / 0.7674 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001988/0.6049, allocations: 1.669 MB / 0.7691 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004805/0.6054, allocations: 0.9572 MB / 0.77 GB, free: 500 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005716/0.6059, allocations: 208.9 kB / 0.7702 GB, free: 288 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.606, allocations: 47.42 kB / 0.7703 GB, free: 240 kB / 0.5762 GB Notification: Performance of SimCode: time 3.1e-07/0.6061, allocations: 4 kB / 0.7703 GB, free: 236 kB / 0.5762 GB Notification: Performance of Templates: time 0.01689/0.623, allocations: 11.06 MB / 0.7811 GB, free: 5.363 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.MassFraction.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.MassFraction.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.MassFraction.pipe 2>&1) Environment - environmentSimulation: