Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS.Fluid.Sensors.Examples.Density") translateModel(IDEAS.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0008499/0.0008499, allocations: 94.3 kB / 15.05 MB, free: 1.113 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.0009165/0.0009164, allocations: 181.3 kB / 15.95 MB, free: 220 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.187/1.187, allocations: 223.2 MB / 239.9 MB, free: 5.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8203/0.8203, allocations: 135.2 MB / 426.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002817/0.0002817, allocations: 8 kB / 0.5068 GB, free: 5.25 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1361, allocations: 82.31 MB / 0.5872 GB, free: 3.113 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Density): time 0.3973/0.5335, allocations: 153.9 MB / 0.7375 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008853/0.5423, allocations: 6.512 MB / 0.7439 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008384/0.5432, allocations: 22.81 kB / 0.7439 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001178/0.5444, allocations: 419 kB / 0.7443 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00334/0.5477, allocations: 1.316 MB / 0.7456 GB, free: 9.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002818/0.5506, allocations: 1.035 MB / 0.7466 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001648/0.5522, allocations: 1.128 MB / 0.7477 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000656/0.5529, allocations: 0.4975 MB / 0.7482 GB, free: 7.484 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001041/0.554, allocations: 0.6162 MB / 0.7488 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004535/0.5544, allocations: 387.8 kB / 0.7492 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.395e-05/0.5545, allocations: 28 kB / 0.7492 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001814/0.5563, allocations: 0.8783 MB / 0.7501 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002248/0.5565, allocations: 231.4 kB / 0.7503 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001475/0.5567, allocations: 173.3 kB / 0.7504 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00107/0.5578, allocations: 1.017 MB / 0.7514 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.215e-06/0.5578, allocations: 0 / 0.7514 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5578, allocations: 0 / 0.7514 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.116e-05/0.5578, allocations: 0 / 0.7514 GB, free: 4.383 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.001508/0.5593, allocations: 0.989 MB / 0.7524 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.5594, allocations: 8.031 kB / 0.7524 GB, free: 3.336 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00171/0.5611, allocations: 278.8 kB / 0.7527 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008705/0.562, allocations: 0.5563 MB / 0.7532 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.845e-05/0.562, allocations: 45.31 kB / 0.7533 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.593e-05/0.5621, allocations: 63.84 kB / 0.7533 GB, free: 2.367 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009293/0.563, allocations: 0.6206 MB / 0.7539 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.5631, allocations: 0 / 0.7539 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.915e-05/0.5631, allocations: 24 kB / 0.7539 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.735e-05/0.5632, allocations: 25.23 kB / 0.754 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008334/0.564, allocations: 0.5282 MB / 0.7545 GB, free: 1.152 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.002749/0.5668, allocations: 2.453 MB / 0.7569 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005885/0.5674, allocations: 387.7 kB / 0.7573 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003348/0.5677, allocations: 145.4 kB / 0.7574 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.5677, allocations: 34.89 kB / 0.7574 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=39): time 1.934e-06/0.5677, allocations: 0 / 0.7574 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.001217/0.569, allocations: 0.6284 MB / 0.758 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.096e-05/0.569, allocations: 59.41 kB / 0.7581 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004998/0.5695, allocations: 0.4949 MB / 0.7586 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.894e-05/0.5696, allocations: 33.7 kB / 0.7586 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002056/0.5698, allocations: 328.5 kB / 0.7589 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.5699, allocations: 138 kB / 0.7591 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.101e-05/0.5699, allocations: 12 kB / 0.7591 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.57, allocations: 362.7 kB / 0.7594 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002926/0.5703, allocations: 172.8 kB / 0.7596 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003732/0.5707, allocations: 280.3 kB / 0.7598 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003323/0.5711, allocations: 215.8 kB / 0.7601 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.5711, allocations: 0 / 0.7601 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007979/0.5719, allocations: 0.5335 MB / 0.7606 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003079/0.5722, allocations: 0.8774 MB / 0.7614 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.5722, allocations: 8 kB / 0.7614 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.5722, allocations: 4 kB / 0.7614 GB, free: 9.617 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006907/0.5729, allocations: 140.9 kB / 0.7616 GB, free: 9.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003324/0.5733, allocations: 0.5938 MB / 0.7622 GB, free: 8.863 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005339/0.5738, allocations: 79.58 kB / 0.7622 GB, free: 8.785 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.931e-05/0.5739, allocations: 23.95 kB / 0.7623 GB, free: 8.762 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.671e-06/0.5739, allocations: 0 / 0.7623 GB, free: 8.762 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007194/0.5746, allocations: 467.5 kB / 0.7627 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.795e-06/0.5746, allocations: 3.938 kB / 0.7627 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.5747, allocations: 4.875 kB / 0.7627 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000463/0.5751, allocations: 132.1 kB / 0.7628 GB, free: 8.168 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.5751, allocations: 4 kB / 0.7628 GB, free: 8.164 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004847/0.5756, allocations: 71.64 kB / 0.7629 GB, free: 8.094 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.859e-05/0.5757, allocations: 12 kB / 0.7629 GB, free: 8.082 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.0002743/0.5759, allocations: 312.9 kB / 0.7632 GB, free: 7.766 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.645e-05/0.576, allocations: 63.2 kB / 0.7633 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007931/0.5768, allocations: 0.4893 MB / 0.7638 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.5768, allocations: 4 kB / 0.7638 GB, free: 7.203 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.5769, allocations: 0 / 0.7638 GB, free: 7.203 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007406/0.5776, allocations: 0.7183 MB / 0.7645 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001742/0.5794, allocations: 1.282 MB / 0.7657 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.5794, allocations: 4 kB / 0.7657 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005703/0.58, allocations: 140 kB / 0.7658 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.193e-06/0.58, allocations: 4 kB / 0.7659 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.949e-05/0.58, allocations: 11.98 kB / 0.7659 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002664/0.5803, allocations: 0.5957 MB / 0.7664 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.5803, allocations: 4.094 kB / 0.7664 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/0.5814, allocations: 0.9155 MB / 0.7673 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002261/0.5816, allocations: 184.3 kB / 0.7675 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.456e-05/0.5817, allocations: 11.95 kB / 0.7675 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004379/0.5822, allocations: 50.3 kB / 0.7676 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.704e-05/0.5822, allocations: 32 kB / 0.7676 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.952e-05/0.5823, allocations: 27.97 kB / 0.7676 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003328/0.5826, allocations: 346.8 kB / 0.768 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5826, allocations: 4 kB / 0.768 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008161/0.5834, allocations: 355.2 kB / 0.7683 GB, free: 2.262 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.0003836/0.5838, allocations: 199.4 kB / 0.7685 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001249/0.5851, allocations: 0.6884 MB / 0.7692 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.5851, allocations: 0 / 0.7692 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003718/0.5855, allocations: 224.6 kB / 0.7694 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001491/0.587, allocations: 355 kB / 0.7697 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001986/0.589, allocations: 1.708 MB / 0.7714 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004748/0.5895, allocations: 0.9652 MB / 0.7723 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005935/0.5901, allocations: 201 kB / 0.7725 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00012/0.5902, allocations: 51.42 kB / 0.7726 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of SimCode: time 2.31e-07/0.5902, allocations: 3.938 kB / 0.7726 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of Templates: time 0.01688/0.6071, allocations: 11.54 MB / 0.7838 GB, free: 2.48 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density.makefile Environment - environmentSimulation: (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density.pipe 2>&1) Environment - environmentSimulation: