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.001115/0.001115, allocations: 108 kB / 15.6 MB, free: 132 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.001151/0.001151, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.399/1.399, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.004/1.004, allocations: 135.1 MB / 425.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 63.83 kB / 0.5053 GB, free: 5.332 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1885/0.1898, allocations: 80.92 MB / 0.5844 GB, free: 4.559 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Density): time 0.5278/0.7176, allocations: 185 MB / 0.7651 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01008/0.7277, allocations: 6.969 MB / 0.7719 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001273/0.729, allocations: 27.81 kB / 0.7719 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001302/0.7304, allocations: 401.5 kB / 0.7723 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004521/0.7349, allocations: 1.439 MB / 0.7737 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003692/0.7387, allocations: 1.163 MB / 0.7748 GB, free: 9.883 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003145/0.7418, allocations: 1.946 MB / 0.7767 GB, free: 7.934 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001312/0.7431, allocations: 0.6504 MB / 0.7773 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001964/0.7451, allocations: 0.8173 MB / 0.7781 GB, free: 6.453 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001716/0.7468, allocations: 0.6012 MB / 0.7787 GB, free: 5.855 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002547/0.7471, allocations: 68 kB / 0.7788 GB, free: 5.789 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004921/0.752, allocations: 1.925 MB / 0.7807 GB, free: 3.859 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005588/0.7526, allocations: 287.2 kB / 0.781 GB, free: 3.578 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008822/0.7535, allocations: 434 kB / 0.7814 GB, free: 3.152 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004047/0.7576, allocations: 1.757 MB / 0.7831 GB, free: 1.391 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.7576, allocations: 4 kB / 0.7831 GB, free: 1.387 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.715e-06/0.7576, allocations: 0 / 0.7831 GB, free: 1.387 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.059e-05/0.7577, allocations: 3.938 kB / 0.7831 GB, free: 1.383 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.002713/0.7604, allocations: 1.164 MB / 0.7842 GB, free: 176 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.7604, allocations: 8.031 kB / 0.7842 GB, free: 168 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002085/0.7625, allocations: 277.9 kB / 0.7845 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001127/0.7637, allocations: 0.5753 MB / 0.7851 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.014e-05/0.7637, allocations: 41.31 kB / 0.7851 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001484/0.7639, allocations: 59.91 kB / 0.7852 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/0.7651, allocations: 0.64 MB / 0.7858 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/0.7651, allocations: 0 / 0.7858 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.053e-05/0.7652, allocations: 28 kB / 0.7858 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.238e-05/0.7652, allocations: 17.31 kB / 0.7858 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009918/0.7662, allocations: 0.5204 MB / 0.7863 GB, free: 13.96 MB / 0.6075 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.003575/0.7698, allocations: 2.457 MB / 0.7887 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006514/0.7704, allocations: 387.6 kB / 0.7891 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003897/0.7708, allocations: 236 kB / 0.7893 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006128/0.7715, allocations: 307.6 kB / 0.7896 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.778e-05/0.7715, allocations: 42.88 kB / 0.7897 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=39): time 1.984e-06/0.7715, allocations: 3.938 kB / 0.7897 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39): time 0.001467/0.773, allocations: 0.6044 MB / 0.7903 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.7731, allocations: 59.34 kB / 0.7903 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006728/0.7737, allocations: 0.4989 MB / 0.7908 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.782e-05/0.7738, allocations: 33.7 kB / 0.7908 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003326/0.7741, allocations: 332.4 kB / 0.7911 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001325/0.7743, allocations: 134 kB / 0.7913 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001661/0.7744, allocations: 94.03 kB / 0.7914 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.7746, allocations: 362.8 kB / 0.7917 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003688/0.775, allocations: 174.5 kB / 0.7919 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004217/0.7754, allocations: 292.3 kB / 0.7922 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007235/0.7762, allocations: 445 kB / 0.7926 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.7762, allocations: 0 / 0.7926 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009657/0.7771, allocations: 0.529 MB / 0.7931 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.7772, allocations: 8 kB / 0.7931 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.505e-06/0.7772, allocations: 0 / 0.7931 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.237e-05/0.7772, allocations: 4 kB / 0.7931 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007579/0.778, allocations: 124.6 kB / 0.7932 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005155/0.7785, allocations: 0.6125 MB / 0.7938 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005873/0.7791, allocations: 47.61 kB / 0.7939 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-05/0.7792, allocations: 16 kB / 0.7939 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005253/0.7797, allocations: 356.8 kB / 0.7942 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000413/0.7801, allocations: 288.4 kB / 0.7945 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007186/0.7808, allocations: 451.1 kB / 0.7949 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.836e-06/0.7809, allocations: 4 kB / 0.7949 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.00101/0.7819, allocations: 0.5161 MB / 0.7954 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.7819, allocations: 7.938 kB / 0.7954 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.7819, allocations: 5.25 kB / 0.7955 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.093e-06/0.7819, allocations: 4.281 kB / 0.7955 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004816/0.7824, allocations: 123.8 kB / 0.7956 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.7824, allocations: 7.984 kB / 0.7956 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000531/0.783, allocations: 43.67 kB / 0.7956 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.864e-05/0.783, allocations: 16 kB / 0.7956 GB, free: 3.906 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.0001739/0.7832, allocations: 201.9 kB / 0.7958 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.7833, allocations: 67.22 kB / 0.7959 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009499/0.7843, allocations: 494.5 kB / 0.7964 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/0.7843, allocations: 4 kB / 0.7964 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.7843, allocations: 0 / 0.7964 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009232/0.7852, allocations: 0.7027 MB / 0.7971 GB, free: 2.355 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002104/0.7873, allocations: 1.284 MB / 0.7983 GB, free: 0.9922 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.7874, allocations: 4.219 kB / 0.7983 GB, free: 0.9883 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006256/0.788, allocations: 123.8 kB / 0.7984 GB, free: 0.8672 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.055e-05/0.788, allocations: 4.75 kB / 0.7984 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.817e-05/0.7881, allocations: 11.98 kB / 0.7985 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003444/0.7884, allocations: 0.5977 MB / 0.799 GB, free: 236 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.7884, allocations: 4.031 kB / 0.799 GB, free: 232 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001276/0.7897, allocations: 0.8219 MB / 0.7998 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002484/0.79, allocations: 184.3 kB / 0.8 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.857e-05/0.7901, allocations: 15.12 kB / 0.8 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004201/0.7905, allocations: 19.98 kB / 0.8 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.399e-05/0.7906, allocations: 31.95 kB / 0.8001 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.154e-05/0.7906, allocations: 12 kB / 0.8001 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004069/0.791, allocations: 354.8 kB / 0.8004 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.4e-07/0.7911, allocations: 0 / 0.8004 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009941/0.7921, allocations: 363.1 kB / 0.8008 GB, free: 14.39 MB / 0.6231 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.000543/0.7926, allocations: 205.7 kB / 0.801 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001555/0.7942, allocations: 0.7159 MB / 0.8017 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.7942, allocations: 4.125 kB / 0.8017 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004393/0.7946, allocations: 215.7 kB / 0.8019 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001697/0.7963, allocations: 364 kB / 0.8022 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002429/0.7988, allocations: 1.391 MB / 0.8036 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000897/0.7997, allocations: 0.9536 MB / 0.8045 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008169/0.8005, allocations: 212.9 kB / 0.8047 GB, free: 10.31 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001508/0.8007, allocations: 47.44 kB / 0.8048 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of SimCode: time 5.71e-07/0.8007, allocations: 0 / 0.8048 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of Templates: time 0.02343/0.8241, allocations: 12.42 MB / 0.8169 GB, free: 14.04 MB / 0.6387 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)