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.004914/0.004914, allocations: 104.6 kB / 15.73 MB, free: 5.578 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.001141/0.001141, allocations: 189.7 kB / 16.67 MB, free: 5.516 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.329/1.329, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8421/0.8421, allocations: 135.1 MB / 425.7 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 62.12 kB / 0.5856 GB, free: 21.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1603, allocations: 80.93 MB / 0.6647 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Density): time 0.5713/0.7316, allocations: 185 MB / 0.8454 GB, free: 1.641 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009901/0.7416, allocations: 6.964 MB / 0.8522 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001035/0.7426, allocations: 29.94 kB / 0.8522 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001206/0.7439, allocations: 428 kB / 0.8526 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003898/0.7478, allocations: 1.487 MB / 0.854 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002928/0.7508, allocations: 1.178 MB / 0.8552 GB, free: 9.621 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002272/0.753, allocations: 1.956 MB / 0.8571 GB, free: 8.496 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008044/0.7539, allocations: 0.6454 MB / 0.8577 GB, free: 8.102 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0014/0.7553, allocations: 0.8548 MB / 0.8586 GB, free: 7.59 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001058/0.7563, allocations: 0.5984 MB / 0.8592 GB, free: 7.242 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 9.053e-05/0.7564, allocations: 67.66 kB / 0.8592 GB, free: 7.242 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003287/0.7597, allocations: 1.938 MB / 0.8611 GB, free: 5.965 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003043/0.7601, allocations: 291.2 kB / 0.8614 GB, free: 5.68 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004825/0.7605, allocations: 438 kB / 0.8618 GB, free: 5.25 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002689/0.7632, allocations: 1.769 MB / 0.8635 GB, free: 3.477 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.7633, allocations: 0 / 0.8635 GB, free: 3.477 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.222e-06/0.7633, allocations: 0 / 0.8635 GB, free: 3.477 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.245e-05/0.7633, allocations: 0 / 0.8635 GB, free: 3.477 MB / 0.6231 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.001891/0.7652, allocations: 1.164 MB / 0.8647 GB, free: 2.262 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.7652, allocations: 9.109 kB / 0.8647 GB, free: 2.254 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001864/0.7671, allocations: 274.7 kB / 0.8649 GB, free: 1.984 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009474/0.7681, allocations: 0.6123 MB / 0.8655 GB, free: 1.328 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.419e-05/0.7681, allocations: 37.31 kB / 0.8656 GB, free: 1.293 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.842e-05/0.7682, allocations: 60 kB / 0.8656 GB, free: 1.234 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009721/0.7692, allocations: 0.6323 MB / 0.8663 GB, free: 0.5859 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.7692, allocations: 4 kB / 0.8663 GB, free: 0.582 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.545e-05/0.7693, allocations: 24 kB / 0.8663 GB, free: 0.5586 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.763e-05/0.7693, allocations: 17.31 kB / 0.8663 GB, free: 0.543 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008664/0.7702, allocations: 0.5164 MB / 0.8668 GB, free: 28 kB / 0.6231 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.002999/0.7732, allocations: 2.449 MB / 0.8692 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006295/0.7738, allocations: 383.7 kB / 0.8696 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003654/0.7742, allocations: 233.4 kB / 0.8698 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006062/0.7748, allocations: 307.6 kB / 0.8701 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.562e-05/0.7749, allocations: 42.88 kB / 0.8701 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=39): time 1.893e-06/0.7749, allocations: 0 / 0.8701 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of matching and sorting (n=39): time 0.001321/0.7762, allocations: 0.6118 MB / 0.8707 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.621e-05/0.7763, allocations: 63.34 kB / 0.8708 GB, free: 11.65 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005109/0.7768, allocations: 0.4912 MB / 0.8712 GB, free: 11.15 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.654e-05/0.7768, allocations: 33.7 kB / 0.8713 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002202/0.7771, allocations: 336.3 kB / 0.8716 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.7772, allocations: 138 kB / 0.8717 GB, free: 10.64 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001446/0.7773, allocations: 86.12 kB / 0.8718 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.7775, allocations: 366.8 kB / 0.8722 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003098/0.7778, allocations: 178.5 kB / 0.8723 GB, free: 10 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003838/0.7782, allocations: 284.2 kB / 0.8726 GB, free: 9.684 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006883/0.7789, allocations: 456.2 kB / 0.873 GB, free: 9.207 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.7789, allocations: 0 / 0.873 GB, free: 9.207 MB / 0.6387 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008687/0.7798, allocations: 0.528 MB / 0.8736 GB, free: 8.672 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.7798, allocations: 4 kB / 0.8736 GB, free: 8.668 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.7798, allocations: 4 kB / 0.8736 GB, free: 8.664 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.7798, allocations: 4 kB / 0.8736 GB, free: 8.66 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006734/0.7805, allocations: 144.2 kB / 0.8737 GB, free: 8.523 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003659/0.7809, allocations: 0.59 MB / 0.8743 GB, free: 7.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004612/0.7814, allocations: 55.45 kB / 0.8743 GB, free: 7.855 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-05/0.7814, allocations: 20 kB / 0.8744 GB, free: 7.836 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004807/0.7819, allocations: 348.9 kB / 0.8747 GB, free: 7.488 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000382/0.7823, allocations: 284.4 kB / 0.875 GB, free: 7.168 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007081/0.783, allocations: 448.6 kB / 0.8754 GB, free: 6.699 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.903e-06/0.783, allocations: 0 / 0.8754 GB, free: 6.699 MB / 0.6387 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0008828/0.7839, allocations: 0.5251 MB / 0.8759 GB, free: 6.168 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.7839, allocations: 8 kB / 0.8759 GB, free: 6.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.7839, allocations: 4 kB / 0.8759 GB, free: 6.156 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.201e-06/0.784, allocations: 4 kB / 0.8759 GB, free: 6.152 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000496/0.7845, allocations: 116.1 kB / 0.876 GB, free: 6.039 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.7845, allocations: 4 kB / 0.876 GB, free: 6.035 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004482/0.7849, allocations: 47.66 kB / 0.8761 GB, free: 5.988 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.66e-05/0.785, allocations: 20 kB / 0.8761 GB, free: 5.969 MB / 0.6387 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.0001532/0.7851, allocations: 208.5 kB / 0.8763 GB, free: 5.758 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.7852, allocations: 63.19 kB / 0.8764 GB, free: 5.695 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000887/0.7861, allocations: 486.6 kB / 0.8768 GB, free: 5.215 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.289e-06/0.7862, allocations: 4 kB / 0.8768 GB, free: 5.211 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.7862, allocations: 0 / 0.8768 GB, free: 5.211 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007866/0.787, allocations: 0.7036 MB / 0.8775 GB, free: 4.422 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001907/0.7889, allocations: 1.28 MB / 0.8788 GB, free: 3.062 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.7889, allocations: 4 kB / 0.8788 GB, free: 3.059 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006026/0.7895, allocations: 137.4 kB / 0.8789 GB, free: 2.93 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.006e-05/0.7895, allocations: 4 kB / 0.8789 GB, free: 2.926 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.585e-05/0.7896, allocations: 15.98 kB / 0.8789 GB, free: 2.91 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003123/0.7899, allocations: 0.586 MB / 0.8795 GB, free: 2.301 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.7899, allocations: 4.031 kB / 0.8795 GB, free: 2.297 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001219/0.7911, allocations: 0.8334 MB / 0.8803 GB, free: 1.426 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002324/0.7914, allocations: 184.2 kB / 0.8805 GB, free: 1.227 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.213e-05/0.7915, allocations: 12 kB / 0.8805 GB, free: 1.215 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004134/0.7919, allocations: 18.39 kB / 0.8805 GB, free: 1.199 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.281e-05/0.792, allocations: 35.89 kB / 0.8805 GB, free: 1.164 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.064e-05/0.792, allocations: 20 kB / 0.8806 GB, free: 1.145 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003813/0.7924, allocations: 350.8 kB / 0.8809 GB, free: 0.8047 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7924, allocations: 0 / 0.8809 GB, free: 0.8047 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009062/0.7933, allocations: 359.2 kB / 0.8812 GB, free: 464 kB / 0.6387 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.0004272/0.7937, allocations: 206.7 kB / 0.8814 GB, free: 260 kB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001459/0.7952, allocations: 0.6733 MB / 0.8821 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.7952, allocations: 0 / 0.8821 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004099/0.7956, allocations: 227.9 kB / 0.8823 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001455/0.7971, allocations: 353.3 kB / 0.8826 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002061/0.7992, allocations: 1.362 MB / 0.884 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004855/0.7997, allocations: 0.9534 MB / 0.8849 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005867/0.8003, allocations: 204.9 kB / 0.8851 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/0.8004, allocations: 51.42 kB / 0.8852 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of SimCode: time 4.91e-07/0.8004, allocations: 4 kB / 0.8852 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of Templates: time 0.02095/0.8214, allocations: 12.52 MB / 0.8974 GB, free: 12 kB / 0.6544 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)