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.0009904/0.0009904, allocations: 92.31 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001136/0.001137, allocations: 181.5 kB / 16.92 MB, free: 6.652 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.38/1.38, allocations: 223.3 MB / 241 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.989/0.989, allocations: 135.3 MB / 427.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003371/0.0003373, allocations: 9.156 kB / 0.5082 GB, free: 4.793 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1526, allocations: 82.32 MB / 0.5886 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Density): time 0.4724/0.6251, allocations: 180.4 MB / 0.7648 GB, free: 8.129 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01054/0.6357, allocations: 6.959 MB / 0.7716 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001128/0.6368, allocations: 19.88 kB / 0.7716 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001146/0.638, allocations: 342.1 kB / 0.7719 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003666/0.6417, allocations: 1.358 MB / 0.7732 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002881/0.6446, allocations: 1.056 MB / 0.7743 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003145/0.6477, allocations: 2.707 MB / 0.7769 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008504/0.6486, allocations: 0.5434 MB / 0.7774 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001604/0.6502, allocations: 0.7119 MB / 0.7781 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001335/0.6516, allocations: 0.6001 MB / 0.7787 GB, free: 9.805 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.306e-05/0.6516, allocations: 28 kB / 0.7787 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004108/0.6558, allocations: 2.194 MB / 0.7809 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004117/0.6562, allocations: 251.2 kB / 0.7811 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006121/0.6568, allocations: 407.7 kB / 0.7815 GB, free: 6.926 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002234/0.6591, allocations: 1.259 MB / 0.7827 GB, free: 5.664 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.6591, allocations: 0 / 0.7827 GB, free: 5.664 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.826e-06/0.6591, allocations: 0 / 0.7827 GB, free: 5.664 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.046e-05/0.6591, allocations: 0 / 0.7827 GB, free: 5.664 MB / 0.5919 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.001831/0.661, allocations: 1.028 MB / 0.7838 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.661, allocations: 8.031 kB / 0.7838 GB, free: 4.578 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001903/0.6629, allocations: 274.8 kB / 0.784 GB, free: 4.309 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008807/0.6638, allocations: 0.5792 MB / 0.7846 GB, free: 3.695 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.972e-05/0.6639, allocations: 41.31 kB / 0.7846 GB, free: 3.656 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.407e-05/0.664, allocations: 55.91 kB / 0.7847 GB, free: 3.602 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/0.6651, allocations: 0.6401 MB / 0.7853 GB, free: 2.945 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.336e-05/0.6651, allocations: 0 / 0.7853 GB, free: 2.945 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.972e-05/0.6652, allocations: 24 kB / 0.7853 GB, free: 2.922 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.271e-05/0.6652, allocations: 21.3 kB / 0.7853 GB, free: 2.898 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009916/0.6662, allocations: 0.5282 MB / 0.7859 GB, free: 2.371 MB / 0.5919 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.003604/0.6698, allocations: 2.453 MB / 0.7883 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000664/0.6705, allocations: 387.7 kB / 0.7886 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000402/0.6709, allocations: 241.4 kB / 0.7889 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006614/0.6716, allocations: 319.5 kB / 0.7892 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.976e-05/0.6717, allocations: 38.89 kB / 0.7892 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=39): time 3.767e-06/0.6717, allocations: 0 / 0.7892 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39): time 0.00149/0.6732, allocations: 0.6239 MB / 0.7898 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.064e-05/0.6732, allocations: 63.34 kB / 0.7899 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005936/0.6738, allocations: 0.4989 MB / 0.7904 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.527e-05/0.6739, allocations: 37.7 kB / 0.7904 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000251/0.6741, allocations: 320.5 kB / 0.7907 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/0.6743, allocations: 137.9 kB / 0.7908 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.59e-05/0.6744, allocations: 45.7 kB / 0.7909 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.6745, allocations: 366.8 kB / 0.7912 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003114/0.6748, allocations: 172.8 kB / 0.7914 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004142/0.6753, allocations: 292.2 kB / 0.7917 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007006/0.676, allocations: 461 kB / 0.7921 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.676, allocations: 0 / 0.7921 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009142/0.6769, allocations: 0.5328 MB / 0.7926 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001125/0.677, allocations: 160.9 kB / 0.7928 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.677, allocations: 3.938 kB / 0.7928 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.6771, allocations: 4 kB / 0.7928 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000749/0.6778, allocations: 144.7 kB / 0.7929 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003699/0.6782, allocations: 0.5937 MB / 0.7935 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006593/0.6789, allocations: 86.58 kB / 0.7936 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.086e-05/0.6789, allocations: 16 kB / 0.7936 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.857e-06/0.6789, allocations: 7.938 kB / 0.7936 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007592/0.6797, allocations: 455.6 kB / 0.794 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.6797, allocations: 7.938 kB / 0.7941 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.722e-06/0.6797, allocations: 4 kB / 0.7941 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004889/0.6802, allocations: 135.5 kB / 0.7942 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.6802, allocations: 4 kB / 0.7942 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005748/0.6808, allocations: 71.64 kB / 0.7943 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.488e-05/0.6809, allocations: 23.92 kB / 0.7943 GB, free: 9.273 MB / 0.6075 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.000362/0.6812, allocations: 309.2 kB / 0.7946 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.468e-05/0.6813, allocations: 63.19 kB / 0.7946 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009844/0.6823, allocations: 0.4901 MB / 0.7951 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.6823, allocations: 4 kB / 0.7951 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.6823, allocations: 0 / 0.7951 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009482/0.6833, allocations: 0.7183 MB / 0.7958 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002053/0.6854, allocations: 1.286 MB / 0.7971 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/0.6854, allocations: 4 kB / 0.7971 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006237/0.686, allocations: 132.1 kB / 0.7972 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.386e-05/0.686, allocations: 11.97 kB / 0.7972 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.304e-05/0.6861, allocations: 8 kB / 0.7972 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003281/0.6864, allocations: 0.6054 MB / 0.7978 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.6864, allocations: 2.891 kB / 0.7978 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001214/0.6876, allocations: 0.8421 MB / 0.7986 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002998/0.688, allocations: 180.2 kB / 0.7988 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.429e-05/0.688, allocations: 11.94 kB / 0.7988 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004884/0.6885, allocations: 58.95 kB / 0.7989 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.051e-05/0.6886, allocations: 27.89 kB / 0.7989 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-05/0.6887, allocations: 16 kB / 0.7989 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004295/0.6891, allocations: 350.8 kB / 0.7993 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6891, allocations: 0 / 0.7993 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00105/0.6902, allocations: 363.1 kB / 0.7996 GB, free: 3.57 MB / 0.6075 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.0005046/0.6907, allocations: 201.5 kB / 0.7998 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001489/0.6922, allocations: 0.6802 MB / 0.8005 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.6922, allocations: 0 / 0.8005 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004283/0.6926, allocations: 231.8 kB / 0.8007 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001975/0.6946, allocations: 367.6 kB / 0.801 GB, free: 2.117 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002613/0.6972, allocations: 1.76 MB / 0.8028 GB, free: 316 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005492/0.6978, allocations: 0.9496 MB / 0.8037 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001751/0.698, allocations: 47.44 kB / 0.8037 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of SimCode: time 9.02e-07/0.698, allocations: 4 kB / 0.8037 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of Templates: time 0.02055/0.7185, allocations: 12.97 MB / 0.8164 GB, free: 2.422 MB / 0.6231 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density.makefile (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)