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.006579/0.006579, allocations: 101.6 kB / 15.73 MB, free: 6.062 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.001219/0.001219, allocations: 192.5 kB / 16.67 MB, free: 5.977 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.362/1.362, 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.769/0.769, allocations: 135.1 MB / 425.7 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 64.66 kB / 0.5856 GB, free: 21.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1551, allocations: 80.92 MB / 0.6647 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Density): time 0.5837/0.7389, allocations: 185 MB / 0.8454 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01176/0.7507, allocations: 6.962 MB / 0.8522 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001593/0.7523, allocations: 29.5 kB / 0.8522 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001283/0.7536, allocations: 419.6 kB / 0.8526 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004635/0.7583, allocations: 1.501 MB / 0.8541 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003327/0.7617, allocations: 1.174 MB / 0.8552 GB, free: 9.656 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002738/0.7644, allocations: 1.945 MB / 0.8571 GB, free: 8.543 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001114/0.7656, allocations: 0.6617 MB / 0.8577 GB, free: 8.133 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001955/0.7675, allocations: 0.8534 MB / 0.8586 GB, free: 7.625 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00161/0.7691, allocations: 0.5935 MB / 0.8592 GB, free: 7.281 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002211/0.7694, allocations: 67.78 kB / 0.8592 GB, free: 7.281 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00398/0.7734, allocations: 1.934 MB / 0.8611 GB, free: 6.02 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004534/0.7738, allocations: 295.2 kB / 0.8614 GB, free: 5.73 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0008394/0.7747, allocations: 434.1 kB / 0.8618 GB, free: 5.305 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003299/0.778, allocations: 1.776 MB / 0.8635 GB, free: 3.523 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.778, allocations: 0 / 0.8635 GB, free: 3.523 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.112e-06/0.778, allocations: 0 / 0.8635 GB, free: 3.523 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.151e-05/0.778, allocations: 0 / 0.8635 GB, free: 3.523 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.002027/0.7801, allocations: 1.164 MB / 0.8647 GB, free: 2.309 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.7801, allocations: 9.109 kB / 0.8647 GB, free: 2.301 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001976/0.7821, allocations: 270.7 kB / 0.8649 GB, free: 2.035 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001199/0.7833, allocations: 0.6105 MB / 0.8655 GB, free: 1.379 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.589e-05/0.7834, allocations: 37.31 kB / 0.8656 GB, free: 1.344 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.034e-05/0.7835, allocations: 56 kB / 0.8656 GB, free: 1.289 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/0.7845, allocations: 0.64 MB / 0.8663 GB, free: 0.6328 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.7846, allocations: 4 kB / 0.8663 GB, free: 0.6289 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.678e-05/0.7846, allocations: 24 kB / 0.8663 GB, free: 0.6055 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.131e-05/0.7847, allocations: 21.31 kB / 0.8663 GB, free: 0.5859 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009298/0.7856, allocations: 0.5164 MB / 0.8668 GB, free: 72 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.003052/0.7887, allocations: 2.449 MB / 0.8692 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006216/0.7893, allocations: 381.8 kB / 0.8696 GB, free: 13.03 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003601/0.7897, allocations: 237.3 kB / 0.8698 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005508/0.7902, allocations: 307.6 kB / 0.8701 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.032e-05/0.7903, allocations: 34.89 kB / 0.8701 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=39): time 1.963e-06/0.7903, allocations: 0 / 0.8701 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of matching and sorting (n=39): time 0.001334/0.7916, allocations: 0.6157 MB / 0.8707 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.217e-05/0.7917, allocations: 63.34 kB / 0.8708 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005379/0.7922, allocations: 0.4912 MB / 0.8713 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.246e-05/0.7923, allocations: 37.7 kB / 0.8713 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002201/0.7925, allocations: 324.4 kB / 0.8716 GB, free: 10.83 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.7926, allocations: 142 kB / 0.8717 GB, free: 10.69 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001315/0.7928, allocations: 86.12 kB / 0.8718 GB, free: 10.6 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.7929, allocations: 366.8 kB / 0.8722 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003132/0.7932, allocations: 174.5 kB / 0.8723 GB, free: 10.06 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003885/0.7936, allocations: 280.3 kB / 0.8726 GB, free: 9.746 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000677/0.7943, allocations: 460.2 kB / 0.873 GB, free: 9.266 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.7943, allocations: 0 / 0.873 GB, free: 9.266 MB / 0.6387 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008657/0.7952, allocations: 0.528 MB / 0.8736 GB, free: 8.73 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.7952, allocations: 4 kB / 0.8736 GB, free: 8.727 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.7953, allocations: 4 kB / 0.8736 GB, free: 8.723 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.7953, allocations: 4 kB / 0.8736 GB, free: 8.719 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007502/0.796, allocations: 136.5 kB / 0.8737 GB, free: 8.586 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003828/0.7964, allocations: 0.5917 MB / 0.8743 GB, free: 7.973 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005177/0.797, allocations: 55.5 kB / 0.8743 GB, free: 7.918 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.147e-05/0.797, allocations: 23.98 kB / 0.8744 GB, free: 7.895 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004935/0.7975, allocations: 348.9 kB / 0.8747 GB, free: 7.547 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000386/0.7979, allocations: 288.3 kB / 0.875 GB, free: 7.223 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006776/0.7986, allocations: 452.2 kB / 0.8754 GB, free: 6.754 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.823e-06/0.7986, allocations: 0 / 0.8754 GB, free: 6.754 MB / 0.6387 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0008471/0.7995, allocations: 0.52 MB / 0.8759 GB, free: 6.227 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.7995, allocations: 9.875 kB / 0.8759 GB, free: 6.219 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.7995, allocations: 4 kB / 0.8759 GB, free: 6.215 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.44e-06/0.7995, allocations: 7.938 kB / 0.8759 GB, free: 6.207 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005106/0.8, allocations: 120.1 kB / 0.876 GB, free: 6.09 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.8, allocations: 8 kB / 0.876 GB, free: 6.082 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004873/0.8005, allocations: 47.59 kB / 0.8761 GB, free: 6.035 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.478e-05/0.8006, allocations: 20 kB / 0.8761 GB, free: 6.016 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.0001613/0.8007, allocations: 204.5 kB / 0.8763 GB, free: 5.809 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.493e-05/0.8008, allocations: 63.19 kB / 0.8764 GB, free: 5.746 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008902/0.8017, allocations: 486.6 kB / 0.8768 GB, free: 5.266 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.8018, allocations: 4 kB / 0.8768 GB, free: 5.262 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.8018, allocations: 0 / 0.8768 GB, free: 5.262 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008156/0.8026, allocations: 0.7027 MB / 0.8775 GB, free: 4.473 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001968/0.8046, allocations: 1.284 MB / 0.8788 GB, free: 3.109 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.8046, allocations: 4 kB / 0.8788 GB, free: 3.105 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006363/0.8052, allocations: 129.6 kB / 0.8789 GB, free: 2.98 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.166e-06/0.8053, allocations: 4 kB / 0.8789 GB, free: 2.977 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.743e-05/0.8053, allocations: 8 kB / 0.8789 GB, free: 2.969 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000354/0.8057, allocations: 0.5976 MB / 0.8795 GB, free: 2.348 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.8057, allocations: 4.031 kB / 0.8795 GB, free: 2.344 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001276/0.807, allocations: 0.8256 MB / 0.8803 GB, free: 1.48 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002571/0.8072, allocations: 188.2 kB / 0.8805 GB, free: 1.277 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.914e-05/0.8073, allocations: 9.125 kB / 0.8805 GB, free: 1.27 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004298/0.8078, allocations: 19.98 kB / 0.8805 GB, free: 1.25 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.905e-05/0.8079, allocations: 31.91 kB / 0.8805 GB, free: 1.219 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.189e-05/0.8079, allocations: 19.98 kB / 0.8806 GB, free: 1.199 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004457/0.8084, allocations: 350.8 kB / 0.8809 GB, free: 0.8594 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8084, allocations: 0 / 0.8809 GB, free: 0.8594 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009893/0.8094, allocations: 359.2 kB / 0.8812 GB, free: 0.5078 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.0005081/0.8099, allocations: 208.8 kB / 0.8814 GB, free: 312 kB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001507/0.8114, allocations: 0.674 MB / 0.8821 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/0.8114, allocations: 0 / 0.8821 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005199/0.8119, allocations: 223.8 kB / 0.8823 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001628/0.8136, allocations: 363.8 kB / 0.8827 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002806/0.8164, allocations: 1.362 MB / 0.884 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008053/0.8172, allocations: 0.9535 MB / 0.8849 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0008346/0.8181, allocations: 200.9 kB / 0.8851 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001863/0.8183, allocations: 47.44 kB / 0.8852 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of SimCode: time 9.42e-07/0.8183, allocations: 4 kB / 0.8852 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of Templates: time 0.02354/0.8418, allocations: 12.53 MB / 0.8974 GB, free: 60 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)