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.001235/0.001236, allocations: 106.1 kB / 16.41 MB, free: 6.504 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.001211/0.001211, allocations: 189.6 kB / 17.34 MB, free: 5.762 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.363/1.363, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8079/0.8079, allocations: 132.2 MB / 423.4 MB, free: 6.617 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 69.08 kB / 0.582 GB, free: 23.83 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1728, allocations: 80.21 MB / 0.6603 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Density): time 0.7323/0.9051, allocations: 185 MB / 0.841 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01211/0.9172, allocations: 6.965 MB / 0.8478 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001633/0.9189, allocations: 29.66 kB / 0.8479 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001639/0.9206, allocations: 403 kB / 0.8483 GB, free: 1.422 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004589/0.9252, allocations: 1.438 MB / 0.8497 GB, free: 324 kB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003752/0.929, allocations: 1.173 MB / 0.8508 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003401/0.9324, allocations: 1.941 MB / 0.8527 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001355/0.9338, allocations: 0.6601 MB / 0.8533 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002192/0.936, allocations: 0.8336 MB / 0.8542 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001819/0.9378, allocations: 0.5976 MB / 0.8547 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002662/0.9381, allocations: 71.91 kB / 0.8548 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004585/0.9427, allocations: 1.928 MB / 0.8567 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005861/0.9433, allocations: 290.4 kB / 0.857 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001137/0.9444, allocations: 434.5 kB / 0.8574 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004699/0.9492, allocations: 1.768 MB / 0.8591 GB, free: 10.4 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.9492, allocations: 0 / 0.8591 GB, free: 10.4 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.705e-06/0.9492, allocations: 0 / 0.8591 GB, free: 10.4 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.128e-05/0.9493, allocations: 0 / 0.8591 GB, free: 10.4 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.002881/0.9521, allocations: 1.164 MB / 0.8602 GB, free: 9.184 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/0.9522, allocations: 15.97 kB / 0.8603 GB, free: 9.168 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002108/0.9543, allocations: 274.7 kB / 0.8605 GB, free: 8.898 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001259/0.9556, allocations: 0.6027 MB / 0.8611 GB, free: 8.25 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.462e-05/0.9557, allocations: 48.75 kB / 0.8612 GB, free: 8.207 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/0.9558, allocations: 52 kB / 0.8612 GB, free: 8.156 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001226/0.9571, allocations: 0.644 MB / 0.8618 GB, free: 7.496 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.217e-05/0.9571, allocations: 3.984 kB / 0.8618 GB, free: 7.492 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.58e-05/0.9571, allocations: 20 kB / 0.8619 GB, free: 7.473 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.888e-05/0.9572, allocations: 17.31 kB / 0.8619 GB, free: 7.457 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000978/0.9582, allocations: 0.5204 MB / 0.8624 GB, free: 6.934 MB / 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.003566/0.9617, allocations: 2.445 MB / 0.8648 GB, free: 4.273 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006354/0.9624, allocations: 380.5 kB / 0.8651 GB, free: 3.895 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003723/0.9628, allocations: 241.3 kB / 0.8654 GB, free: 3.656 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006037/0.9634, allocations: 303.6 kB / 0.8657 GB, free: 3.305 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/0.9634, allocations: 42.88 kB / 0.8657 GB, free: 3.254 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=39): time 3.006e-06/0.9635, allocations: 0 / 0.8657 GB, free: 3.254 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39): time 0.001461/0.9649, allocations: 0.6147 MB / 0.8663 GB, free: 2.633 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.848e-05/0.965, allocations: 63.34 kB / 0.8664 GB, free: 2.559 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006346/0.9656, allocations: 0.4951 MB / 0.8668 GB, free: 2.055 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.134e-05/0.9657, allocations: 29.7 kB / 0.8669 GB, free: 2.02 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002592/0.9659, allocations: 336.4 kB / 0.8672 GB, free: 1.684 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001378/0.9661, allocations: 130 kB / 0.8673 GB, free: 1.555 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001551/0.9663, allocations: 94.12 kB / 0.8674 GB, free: 1.457 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.9664, allocations: 362.8 kB / 0.8678 GB, free: 1.094 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003459/0.9668, allocations: 170.5 kB / 0.8679 GB, free: 0.9219 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005251/0.9673, allocations: 296.2 kB / 0.8682 GB, free: 0.5898 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007313/0.9681, allocations: 453.3 kB / 0.8686 GB, free: 120 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.9681, allocations: 0 / 0.8686 GB, free: 120 kB / 0.6231 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001095/0.9692, allocations: 0.5239 MB / 0.8691 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.698e-05/0.9692, allocations: 8 kB / 0.8691 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.9692, allocations: 0 / 0.8691 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.502e-05/0.9693, allocations: 4 kB / 0.8692 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007521/0.97, allocations: 144 kB / 0.8693 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004111/0.9704, allocations: 0.59 MB / 0.8699 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006083/0.9711, allocations: 51.52 kB / 0.8699 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.752e-05/0.9711, allocations: 16 kB / 0.8699 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000561/0.9717, allocations: 353.8 kB / 0.8703 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004051/0.9721, allocations: 288.2 kB / 0.8705 GB, free: 14.08 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006952/0.9728, allocations: 456.3 kB / 0.871 GB, free: 13.6 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.595e-06/0.9728, allocations: 0 / 0.871 GB, free: 13.6 MB / 0.6387 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0009279/0.9738, allocations: 0.5202 MB / 0.8715 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.9738, allocations: 8.031 kB / 0.8715 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.9738, allocations: 4 kB / 0.8715 GB, free: 13.06 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.425e-06/0.9738, allocations: 7.938 kB / 0.8715 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005017/0.9743, allocations: 119.8 kB / 0.8716 GB, free: 12.94 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.9743, allocations: 7.984 kB / 0.8716 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005567/0.9749, allocations: 44.98 kB / 0.8717 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.762e-05/0.9749, allocations: 16 kB / 0.8717 GB, free: 12.87 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.0002195/0.9752, allocations: 208.1 kB / 0.8719 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/0.9753, allocations: 63.19 kB / 0.8719 GB, free: 12.6 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009245/0.9762, allocations: 485.6 kB / 0.8724 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.9763, allocations: 4 kB / 0.8724 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.9763, allocations: 0 / 0.8724 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008164/0.9771, allocations: 0.7107 MB / 0.8731 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002067/0.9792, allocations: 1.278 MB / 0.8744 GB, free: 9.969 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.9792, allocations: 3.984 kB / 0.8744 GB, free: 9.965 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006942/0.9799, allocations: 123.8 kB / 0.8745 GB, free: 9.844 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.899e-06/0.9799, allocations: 4 kB / 0.8745 GB, free: 9.84 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.533e-05/0.9799, allocations: 11.98 kB / 0.8745 GB, free: 9.828 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003475/0.9803, allocations: 0.5978 MB / 0.8751 GB, free: 9.207 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.9803, allocations: 4 kB / 0.8751 GB, free: 9.203 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001269/0.9816, allocations: 0.8176 MB / 0.8759 GB, free: 8.348 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003078/0.9819, allocations: 184.2 kB / 0.8761 GB, free: 8.148 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.982, allocations: 12 kB / 0.8761 GB, free: 8.137 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004494/0.9825, allocations: 23.98 kB / 0.8761 GB, free: 8.113 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.316e-05/0.9826, allocations: 31.89 kB / 0.8761 GB, free: 8.082 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.163e-05/0.9826, allocations: 16 kB / 0.8761 GB, free: 8.066 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004397/0.9831, allocations: 350.8 kB / 0.8765 GB, free: 7.727 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9831, allocations: 0 / 0.8765 GB, free: 7.727 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001129/0.9842, allocations: 359.2 kB / 0.8768 GB, free: 7.375 MB / 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.0005641/0.9848, allocations: 221.3 kB / 0.877 GB, free: 7.16 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001521/0.9863, allocations: 0.665 MB / 0.8777 GB, free: 6.496 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.784e-06/0.9863, allocations: 0 / 0.8777 GB, free: 6.496 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004346/0.9868, allocations: 223.6 kB / 0.8779 GB, free: 6.277 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001622/0.9884, allocations: 359.8 kB / 0.8782 GB, free: 5.945 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002721/0.9911, allocations: 1.419 MB / 0.8796 GB, free: 4.469 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007172/0.9919, allocations: 0.9496 MB / 0.8805 GB, free: 3.492 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001954/0.9921, allocations: 47.44 kB / 0.8806 GB, free: 3.445 MB / 0.6387 GB Notification: Performance of SimCode: time 3.21e-07/0.9921, allocations: 0 / 0.8806 GB, free: 3.445 MB / 0.6387 GB Notification: Performance of Templates: time 0.02187/1.014, allocations: 13.17 MB / 0.8934 GB, free: 6.371 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)