Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.Density.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.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.Density") translateModel(IDEAS.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.Density") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008975/0.0008975, allocations: 99.7 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.0009106/0.0009106, 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.185/1.185, 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.8565/0.8565, allocations: 135.2 MB / 426.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002924/0.0002926, allocations: 15.98 kB / 0.5068 GB, free: 5.293 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1516, allocations: 82.3 MB / 0.5872 GB, free: 3.176 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Density): time 0.378/0.5297, allocations: 154 MB / 0.7375 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008953/0.5387, allocations: 6.498 MB / 0.7439 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009005/0.5396, allocations: 24.78 kB / 0.7439 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001321/0.5409, allocations: 426.2 kB / 0.7443 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003839/0.5448, allocations: 1.312 MB / 0.7456 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003277/0.5481, allocations: 1.04 MB / 0.7466 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002023/0.5501, allocations: 1.123 MB / 0.7477 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007011/0.5508, allocations: 0.5031 MB / 0.7482 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001184/0.552, allocations: 0.6153 MB / 0.7488 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004819/0.5525, allocations: 385.3 kB / 0.7492 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.653e-05/0.5526, allocations: 32 kB / 0.7492 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002016/0.5546, allocations: 0.8738 MB / 0.75 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002325/0.5548, allocations: 227.4 kB / 0.7503 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001694/0.555, allocations: 181.3 kB / 0.7504 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00117/0.5562, allocations: 1.013 MB / 0.7514 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.5562, allocations: 0 / 0.7514 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5562, allocations: 4 kB / 0.7514 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.211e-05/0.5562, allocations: 0 / 0.7514 GB, free: 4.449 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.001505/0.5577, allocations: 0.9915 MB / 0.7524 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.5578, allocations: 12.03 kB / 0.7524 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001696/0.5595, allocations: 266.8 kB / 0.7527 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008836/0.5604, allocations: 0.5641 MB / 0.7532 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.474e-05/0.5604, allocations: 41.31 kB / 0.7533 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.406e-05/0.5605, allocations: 55.91 kB / 0.7533 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009367/0.5615, allocations: 0.6322 MB / 0.7539 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.5615, allocations: 4 kB / 0.7539 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.915e-05/0.5615, allocations: 28 kB / 0.754 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.646e-05/0.5616, allocations: 17.31 kB / 0.754 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000828/0.5624, allocations: 0.5243 MB / 0.7545 GB, free: 1.223 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.002735/0.5652, allocations: 2.445 MB / 0.7569 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005998/0.5658, allocations: 402.5 kB / 0.7573 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003549/0.5661, allocations: 145.4 kB / 0.7574 GB, free: 14 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.007e-05/0.5662, allocations: 38.89 kB / 0.7574 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=39): time 1.814e-06/0.5662, allocations: 0 / 0.7574 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.001276/0.5675, allocations: 0.6245 MB / 0.758 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/0.5675, allocations: 55.41 kB / 0.7581 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005595/0.5681, allocations: 0.4989 MB / 0.7586 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.525e-05/0.5682, allocations: 37.7 kB / 0.7586 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002189/0.5684, allocations: 316.5 kB / 0.7589 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001205/0.5685, allocations: 138 kB / 0.7591 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.18e-05/0.5685, allocations: 12 kB / 0.7591 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.5687, allocations: 370.7 kB / 0.7594 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002844/0.569, allocations: 164.8 kB / 0.7596 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003749/0.5694, allocations: 288.3 kB / 0.7598 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000346/0.5697, allocations: 219.8 kB / 0.7601 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.5697, allocations: 0 / 0.7601 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008103/0.5706, allocations: 0.5259 MB / 0.7606 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003231/0.5709, allocations: 0.8849 MB / 0.7614 GB, free: 9.691 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.5709, allocations: 4 kB / 0.7614 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.5709, allocations: 4 kB / 0.7614 GB, free: 9.684 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007043/0.5716, allocations: 142.3 kB / 0.7616 GB, free: 9.547 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003496/0.572, allocations: 0.5977 MB / 0.7622 GB, free: 8.926 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005901/0.5726, allocations: 80.53 kB / 0.7622 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.869e-05/0.5726, allocations: 20 kB / 0.7623 GB, free: 8.828 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.985e-06/0.5727, allocations: 4 kB / 0.7623 GB, free: 8.824 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007282/0.5734, allocations: 463.5 kB / 0.7627 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.5734, allocations: 0 / 0.7627 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.691e-06/0.5734, allocations: 8 kB / 0.7627 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004623/0.5739, allocations: 128.1 kB / 0.7628 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.5739, allocations: 4 kB / 0.7628 GB, free: 8.234 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005108/0.5744, allocations: 73.83 kB / 0.7629 GB, free: 8.164 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.706e-05/0.5745, allocations: 16.88 kB / 0.7629 GB, free: 8.148 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 (53): * Single equations (assignments): 52 * 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.0003372/0.5748, allocations: 312.9 kB / 0.7632 GB, free: 7.832 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.507e-05/0.5749, allocations: 63.2 kB / 0.7633 GB, free: 7.77 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007975/0.5757, allocations: 498.8 kB / 0.7638 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.5757, allocations: 10.19 kB / 0.7638 GB, free: 7.266 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.5757, allocations: 0 / 0.7638 GB, free: 7.266 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007302/0.5765, allocations: 0.7066 MB / 0.7645 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001802/0.5783, allocations: 1.286 MB / 0.7657 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.5783, allocations: 0 / 0.7657 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005853/0.5789, allocations: 144.1 kB / 0.7659 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.5789, allocations: 4 kB / 0.7659 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.095e-05/0.5789, allocations: 16 kB / 0.7659 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002848/0.5792, allocations: 0.5938 MB / 0.7665 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.5792, allocations: 0 / 0.7665 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/0.5804, allocations: 0.9156 MB / 0.7673 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002523/0.5806, allocations: 188.3 kB / 0.7675 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.164e-05/0.5807, allocations: 8 kB / 0.7675 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004533/0.5812, allocations: 58.97 kB / 0.7676 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.561e-05/0.5813, allocations: 31.91 kB / 0.7676 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.793e-05/0.5813, allocations: 15.98 kB / 0.7676 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003676/0.5817, allocations: 346.8 kB / 0.768 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5817, allocations: 0 / 0.768 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008905/0.5826, allocations: 355.2 kB / 0.7683 GB, free: 2.34 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],senDenFlo.d) * 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 (39): * Single equations (assignments): 38 * 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.0004127/0.583, allocations: 208.8 kB / 0.7685 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001276/0.5843, allocations: 0.6882 MB / 0.7692 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.5843, allocations: 0 / 0.7692 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003767/0.5847, allocations: 224.8 kB / 0.7694 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001463/0.5861, allocations: 350.5 kB / 0.7697 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00223/0.5884, allocations: 1.705 MB / 0.7714 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000535/0.5889, allocations: 0.9652 MB / 0.7723 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000658/0.5896, allocations: 213 kB / 0.7725 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.5897, allocations: 51.42 kB / 0.7726 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of SimCode: time 3.7e-07/0.5897, allocations: 0 / 0.7726 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of Templates: time 0.01831/0.6081, allocations: 11.54 MB / 0.7839 GB, free: 2.535 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.Density.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.Density.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.Density.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.Density.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.Density.pipe 2>&1) Environment - environmentSimulation: