Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS.Fluid.Sensors.Examples.MassFraction") translateModel(IDEAS.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0008547/0.0008546, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.0009647/0.0009648, allocations: 177.3 kB / 15.95 MB, free: 216 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.201/1.201, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8254/0.8254, allocations: 135.2 MB / 426.2 MB, free: 14.15 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002857/0.0002858, allocations: 12.56 kB / 0.5068 GB, free: 5.258 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1489, allocations: 82.3 MB / 0.5872 GB, free: 3.129 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MassFraction): time 0.4008/0.5497, allocations: 155.3 MB / 0.7389 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008044/0.5578, allocations: 4.451 MB / 0.7432 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006512/0.5584, allocations: 22.66 kB / 0.7432 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001226/0.5597, allocations: 433 kB / 0.7436 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003084/0.5628, allocations: 1.238 MB / 0.7448 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002241/0.565, allocations: 0.8539 MB / 0.7457 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001418/0.5665, allocations: 1.129 MB / 0.7468 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005797/0.567, allocations: 0.4893 MB / 0.7473 GB, free: 8.539 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001231/0.5683, allocations: 0.7337 MB / 0.748 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004103/0.5687, allocations: 370.4 kB / 0.7483 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.581e-05/0.5688, allocations: 32 kB / 0.7484 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001246/0.57, allocations: 0.6865 MB / 0.749 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002126/0.5703, allocations: 223.4 kB / 0.7492 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001435/0.5704, allocations: 173.3 kB / 0.7494 GB, free: 6.578 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0008771/0.5713, allocations: 0.9208 MB / 0.7503 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.5713, allocations: 0 / 0.7503 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5713, allocations: 0 / 0.7503 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.5713, allocations: 0 / 0.7503 GB, free: 5.66 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.001266/0.5726, allocations: 0.9331 MB / 0.7512 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.052e-05/0.5726, allocations: 8.031 kB / 0.7512 GB, free: 4.668 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001128/0.5738, allocations: 206.9 kB / 0.7514 GB, free: 4.465 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008314/0.5746, allocations: 0.5678 MB / 0.752 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.303e-05/0.5746, allocations: 40.5 kB / 0.752 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.76e-05/0.5747, allocations: 56 kB / 0.7521 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008459/0.5756, allocations: 0.6127 MB / 0.7527 GB, free: 3.145 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.5756, allocations: 4 kB / 0.7527 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.825e-05/0.5757, allocations: 24 kB / 0.7527 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.659e-05/0.5757, allocations: 17.31 kB / 0.7527 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006848/0.5764, allocations: 493 kB / 0.7532 GB, free: 2.617 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.002525/0.5789, allocations: 2.4 MB / 0.7555 GB, free: 8 kB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005086/0.5794, allocations: 358.8 kB / 0.7559 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003608/0.5798, allocations: 137 kB / 0.756 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.5798, allocations: 38.56 kB / 0.756 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=36): time 1.512e-06/0.5799, allocations: 0 / 0.756 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of matching and sorting (n=36): time 0.0009725/0.5808, allocations: 0.5448 MB / 0.7566 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.5809, allocations: 55.41 kB / 0.7566 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000488/0.5814, allocations: 0.4951 MB / 0.7571 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.544e-05/0.5814, allocations: 33.7 kB / 0.7571 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001969/0.5816, allocations: 316.5 kB / 0.7574 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/0.5817, allocations: 134.1 kB / 0.7576 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.682e-05/0.5818, allocations: 11.88 kB / 0.7576 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.5819, allocations: 374.7 kB / 0.7579 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001972/0.5821, allocations: 136.8 kB / 0.7581 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002859/0.5824, allocations: 260.6 kB / 0.7583 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002528/0.5827, allocations: 185.5 kB / 0.7585 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.5827, allocations: 0 / 0.7585 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006253/0.5833, allocations: 490.1 kB / 0.759 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003061/0.5836, allocations: 0.8732 MB / 0.7598 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.5836, allocations: 4 kB / 0.7598 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.5837, allocations: 4 kB / 0.7598 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005196/0.5842, allocations: 99.83 kB / 0.7599 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003126/0.5845, allocations: 0.5977 MB / 0.7605 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004976/0.585, allocations: 71.59 kB / 0.7606 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.346e-05/0.5851, allocations: 19.95 kB / 0.7606 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.153e-06/0.5851, allocations: 4 kB / 0.7606 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005336/0.5856, allocations: 395.6 kB / 0.761 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.5856, allocations: 4.281 kB / 0.761 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.5856, allocations: 8 kB / 0.761 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003153/0.586, allocations: 87.84 kB / 0.7611 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.586, allocations: 4 kB / 0.7611 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004429/0.5864, allocations: 67.55 kB / 0.7611 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.802e-05/0.5865, allocations: 16 kB / 0.7611 GB, free: 10.03 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.0002723/0.5867, allocations: 308.9 kB / 0.7614 GB, free: 9.715 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.747e-05/0.5868, allocations: 59.3 kB / 0.7615 GB, free: 9.656 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006093/0.5874, allocations: 439.8 kB / 0.7619 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.5874, allocations: 7.984 kB / 0.7619 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.5875, allocations: 7.984 kB / 0.7619 GB, free: 9.203 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005388/0.588, allocations: 0.646 MB / 0.7626 GB, free: 8.473 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001485/0.5895, allocations: 1.211 MB / 0.7637 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.5895, allocations: 0 / 0.7637 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000419/0.5899, allocations: 91.89 kB / 0.7638 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.5899, allocations: 4 kB / 0.7638 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.708e-05/0.59, allocations: 12 kB / 0.7638 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002591/0.5902, allocations: 0.5938 MB / 0.7644 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.5903, allocations: 8.078 kB / 0.7644 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008285/0.5911, allocations: 0.8188 MB / 0.7652 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00021/0.5913, allocations: 176.3 kB / 0.7654 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.929e-05/0.5914, allocations: 15.95 kB / 0.7654 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004009/0.5918, allocations: 43.89 kB / 0.7655 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.309e-05/0.5918, allocations: 27.97 kB / 0.7655 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.343e-05/0.5919, allocations: 12.88 kB / 0.7655 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003496/0.5922, allocations: 354.8 kB / 0.7658 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.8e-07/0.5922, allocations: 7.938 kB / 0.7658 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008797/0.5931, allocations: 343.1 kB / 0.7662 GB, free: 4.578 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.0004429/0.5936, allocations: 184.3 kB / 0.7663 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001028/0.5946, allocations: 0.5928 MB / 0.7669 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.5946, allocations: 0 / 0.7669 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002954/0.5949, allocations: 188.7 kB / 0.7671 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001514/0.5964, allocations: 364.2 kB / 0.7675 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001834/0.5983, allocations: 1.658 MB / 0.7691 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004601/0.5988, allocations: 0.965 MB / 0.77 GB, free: 0.5938 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005558/0.5993, allocations: 204.9 kB / 0.7702 GB, free: 400 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.5994, allocations: 47.44 kB / 0.7703 GB, free: 352 kB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.5994, allocations: 0 / 0.7703 GB, free: 352 kB / 0.5762 GB Notification: Performance of Templates: time 0.01607/0.6155, allocations: 11.05 MB / 0.7811 GB, free: 5.473 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MassFraction.makefile Environment - environmentSimulation: (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MassFraction.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MassFraction.pipe 2>&1) Environment - environmentSimulation: