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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.005207/0.005207, allocations: 101.3 kB / 15.73 MB, free: 6.035 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.001131/0.001132, allocations: 186.1 kB / 16.67 MB, free: 5.969 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.365/1.365, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7865/0.7865, allocations: 132.2 MB / 422.7 MB, free: 1.719 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 63.31 kB / 0.5814 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1856/0.1868, allocations: 80.21 MB / 0.6597 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Density): time 0.7297/0.9165, allocations: 185 MB / 0.8404 GB, free: 2.98 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01038/0.9269, allocations: 6.96 MB / 0.8472 GB, free: 2.891 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001505/0.9285, allocations: 31.19 kB / 0.8472 GB, free: 2.891 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001275/0.9297, allocations: 408.6 kB / 0.8476 GB, free: 2.887 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003853/0.9337, allocations: 1.502 MB / 0.8491 GB, free: 2.82 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003299/0.937, allocations: 1.179 MB / 0.8502 GB, free: 2.789 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002525/0.9395, allocations: 1.947 MB / 0.8521 GB, free: 2.781 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008617/0.9404, allocations: 0.658 MB / 0.8528 GB, free: 2.715 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001555/0.942, allocations: 0.8572 MB / 0.8536 GB, free: 2.707 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001215/0.9432, allocations: 0.6003 MB / 0.8542 GB, free: 2.707 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001057/0.9433, allocations: 66.69 kB / 0.8542 GB, free: 2.707 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004025/0.9473, allocations: 1.939 MB / 0.8561 GB, free: 2.688 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003562/0.9477, allocations: 294.3 kB / 0.8564 GB, free: 2.684 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005815/0.9483, allocations: 429.5 kB / 0.8568 GB, free: 2.684 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00327/0.9516, allocations: 1.775 MB / 0.8586 GB, free: 2.504 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.9516, allocations: 0.875 kB / 0.8586 GB, free: 2.504 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.854e-06/0.9516, allocations: 0 / 0.8586 GB, free: 2.504 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.841e-05/0.9516, allocations: 3.938 kB / 0.8586 GB, free: 2.5 MB / 0.6387 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.001677/0.9533, allocations: 1.154 MB / 0.8597 GB, free: 1.816 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.9534, allocations: 12.06 kB / 0.8597 GB, free: 1.816 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001815/0.9552, allocations: 276 kB / 0.86 GB, free: 1.77 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008426/0.956, allocations: 0.6178 MB / 0.8606 GB, free: 1.484 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.523e-05/0.9561, allocations: 43.34 kB / 0.8606 GB, free: 1.484 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.394e-05/0.9562, allocations: 55.19 kB / 0.8607 GB, free: 1.484 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009842/0.9572, allocations: 0.6285 MB / 0.8613 GB, free: 1.41 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/0.9572, allocations: 3.562 kB / 0.8613 GB, free: 1.41 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.135e-05/0.9573, allocations: 25.81 kB / 0.8613 GB, free: 1.41 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.901e-05/0.9573, allocations: 24.53 kB / 0.8613 GB, free: 1.406 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008312/0.9581, allocations: 0.5163 MB / 0.8618 GB, free: 1.398 MB / 0.6387 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.002737/0.9609, allocations: 2.449 MB / 0.8642 GB, free: 16.08 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005818/0.9615, allocations: 377 kB / 0.8646 GB, free: 16.05 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003419/0.9618, allocations: 240.3 kB / 0.8648 GB, free: 16.05 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006113/0.9624, allocations: 310.7 kB / 0.8651 GB, free: 15.76 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/0.9625, allocations: 37.11 kB / 0.8652 GB, free: 15.72 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=39): time 2.515e-06/0.9625, allocations: 0 / 0.8652 GB, free: 15.72 MB / 0.6544 GB Notification: Performance of matching and sorting (n=39): time 0.001377/0.9639, allocations: 0.6156 MB / 0.8658 GB, free: 15.65 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.964, allocations: 61.89 kB / 0.8658 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005267/0.9645, allocations: 499.4 kB / 0.8663 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.352e-05/0.9645, allocations: 36.14 kB / 0.8663 GB, free: 15.44 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000209/0.9648, allocations: 331.9 kB / 0.8666 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/0.9649, allocations: 133.5 kB / 0.8668 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001354/0.965, allocations: 90.48 kB / 0.8669 GB, free: 15.17 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.9652, allocations: 365.6 kB / 0.8672 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003268/0.9655, allocations: 180.8 kB / 0.8674 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003923/0.9659, allocations: 287.8 kB / 0.8676 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006251/0.9665, allocations: 448.6 kB / 0.8681 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.9665, allocations: 3.938 kB / 0.8681 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008117/0.9674, allocations: 0.5275 MB / 0.8686 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.9674, allocations: 5.781 kB / 0.8686 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.9674, allocations: 3.062 kB / 0.8686 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.9674, allocations: 5.719 kB / 0.8686 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007146/0.9681, allocations: 126.7 kB / 0.8687 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00054/0.9687, allocations: 0.5952 MB / 0.8693 GB, free: 13.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005472/0.9693, allocations: 55.72 kB / 0.8694 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.883e-05/0.9693, allocations: 18 kB / 0.8694 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004952/0.9698, allocations: 360.3 kB / 0.8697 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003747/0.9702, allocations: 285.8 kB / 0.87 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007266/0.9709, allocations: 454.3 kB / 0.8704 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.923e-06/0.9709, allocations: 3.406 kB / 0.8704 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0008469/0.9718, allocations: 0.52 MB / 0.8709 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/0.9718, allocations: 4.906 kB / 0.8709 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.9718, allocations: 7.031 kB / 0.871 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.841e-06/0.9718, allocations: 3.562 kB / 0.871 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004864/0.9723, allocations: 118.7 kB / 0.8711 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.9724, allocations: 9.906 kB / 0.8711 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005106/0.9729, allocations: 44.77 kB / 0.8711 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.067e-05/0.9729, allocations: 17.22 kB / 0.8711 GB, free: 13.59 MB / 0.6544 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001786/0.9731, allocations: 206 kB / 0.8713 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.9732, allocations: 61.34 kB / 0.8714 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009035/0.9741, allocations: 485.3 kB / 0.8719 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.094e-06/0.9741, allocations: 8.281 kB / 0.8719 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.9742, allocations: 2.094 kB / 0.8719 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007408/0.9749, allocations: 0.7073 MB / 0.8726 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001912/0.9768, allocations: 1.276 MB / 0.8738 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.9768, allocations: 2.844 kB / 0.8738 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005898/0.9774, allocations: 125.9 kB / 0.8739 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.674e-06/0.9775, allocations: 5.188 kB / 0.8739 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.033e-05/0.9775, allocations: 14.94 kB / 0.8739 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000327/0.9778, allocations: 0.5952 MB / 0.8745 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.219e-06/0.9778, allocations: 10.09 kB / 0.8745 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001251/0.9791, allocations: 0.8178 MB / 0.8753 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002586/0.9794, allocations: 181.4 kB / 0.8755 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.66e-05/0.9795, allocations: 9.688 kB / 0.8755 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004135/0.9799, allocations: 30.09 kB / 0.8755 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.34e-05/0.98, allocations: 26.75 kB / 0.8756 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.03e-05/0.98, allocations: 17.59 kB / 0.8756 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004471/0.9805, allocations: 349.6 kB / 0.8759 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9805, allocations: 0 / 0.8759 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009611/0.9814, allocations: 363.3 kB / 0.8763 GB, free: 11.43 MB / 0.6544 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00047/0.9819, allocations: 207.4 kB / 0.8765 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00131/0.9832, allocations: 0.6641 MB / 0.8771 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.9833, allocations: 0.875 kB / 0.8771 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003625/0.9836, allocations: 227.2 kB / 0.8773 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001641/0.9853, allocations: 361.5 kB / 0.8777 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0024/0.9877, allocations: 1.37 MB / 0.879 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006051/0.9883, allocations: 0.9462 MB / 0.8799 GB, free: 9.941 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0006503/0.989, allocations: 212.4 kB / 0.8801 GB, free: 9.898 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001334/0.9891, allocations: 52.69 kB / 0.8802 GB, free: 9.891 MB / 0.6544 GB Notification: Performance of SimCode: time 6.91e-07/0.9891, allocations: 0 / 0.8802 GB, free: 9.891 MB / 0.6544 GB Notification: Performance of Templates: time 0.02203/1.011, allocations: 12.52 MB / 0.8924 GB, free: 6.172 MB / 0.6544 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.Density.makefile (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)