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.001232/0.001232, allocations: 106.7 kB / 16.41 MB, free: 6.508 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.001213/0.001213, allocations: 187 kB / 17.34 MB, free: 5.742 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.367/1.367, allocations: 222.9 MB / 241 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.8245/0.8245, allocations: 135.1 MB / 426.3 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 72.23 kB / 0.5863 GB, free: 21.51 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1685, allocations: 80.93 MB / 0.6653 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Density): time 0.6043/0.7728, allocations: 185 MB / 0.846 GB, free: 1.637 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01016/0.783, allocations: 6.965 MB / 0.8528 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001377/0.7845, allocations: 30 kB / 0.8529 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00146/0.786, allocations: 394.1 kB / 0.8532 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004128/0.7901, allocations: 1.446 MB / 0.8546 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003401/0.7935, allocations: 1.174 MB / 0.8558 GB, free: 9.66 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003102/0.7966, allocations: 1.934 MB / 0.8577 GB, free: 8.555 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001356/0.798, allocations: 0.6581 MB / 0.8583 GB, free: 8.145 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002101/0.8001, allocations: 0.827 MB / 0.8591 GB, free: 7.66 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00157/0.8017, allocations: 0.5961 MB / 0.8597 GB, free: 7.309 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002188/0.802, allocations: 67.81 kB / 0.8598 GB, free: 7.309 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005577/0.8075, allocations: 1.935 MB / 0.8617 GB, free: 6.066 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005637/0.8081, allocations: 291.2 kB / 0.8619 GB, free: 5.781 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001024/0.8092, allocations: 434 kB / 0.8624 GB, free: 5.355 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004617/0.8138, allocations: 1.773 MB / 0.8641 GB, free: 3.578 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.8138, allocations: 0 / 0.8641 GB, free: 3.578 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.874e-06/0.8138, allocations: 0 / 0.8641 GB, free: 3.578 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.891e-05/0.8139, allocations: 0 / 0.8641 GB, free: 3.578 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.00276/0.8166, allocations: 1.161 MB / 0.8652 GB, free: 2.367 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.8167, allocations: 9.109 kB / 0.8652 GB, free: 2.359 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002167/0.8189, allocations: 276.7 kB / 0.8655 GB, free: 2.09 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00113/0.82, allocations: 0.6104 MB / 0.8661 GB, free: 1.434 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.186e-05/0.8201, allocations: 41.25 kB / 0.8661 GB, free: 1.395 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/0.8202, allocations: 67.97 kB / 0.8662 GB, free: 1.328 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001263/0.8215, allocations: 0.64 MB / 0.8668 GB, free: 0.6719 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.8215, allocations: 0 / 0.8668 GB, free: 0.6719 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.745e-05/0.8216, allocations: 20 kB / 0.8668 GB, free: 0.6523 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.032e-05/0.8216, allocations: 21.31 kB / 0.8669 GB, free: 0.6328 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000954/0.8225, allocations: 0.5126 MB / 0.8674 GB, free: 124 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.00366/0.8262, allocations: 2.445 MB / 0.8697 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006249/0.8269, allocations: 377.8 kB / 0.8701 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003789/0.8273, allocations: 240.4 kB / 0.8703 GB, free: 12.85 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000643/0.8279, allocations: 315.5 kB / 0.8706 GB, free: 12.49 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/0.828, allocations: 34.89 kB / 0.8707 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=39): time 2.014e-06/0.828, allocations: 3.938 kB / 0.8707 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of matching and sorting (n=39): time 0.001503/0.8295, allocations: 0.6157 MB / 0.8713 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.8295, allocations: 59.34 kB / 0.8713 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006179/0.8301, allocations: 0.4912 MB / 0.8718 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.979e-05/0.8302, allocations: 33.7 kB / 0.8718 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002759/0.8305, allocations: 328.4 kB / 0.8722 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001286/0.8306, allocations: 134 kB / 0.8723 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001617/0.8308, allocations: 94.06 kB / 0.8724 GB, free: 10.65 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.8309, allocations: 370.8 kB / 0.8727 GB, free: 10.28 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000326/0.8313, allocations: 174.5 kB / 0.8729 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004934/0.8318, allocations: 284.3 kB / 0.8732 GB, free: 9.789 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008055/0.8326, allocations: 452.2 kB / 0.8736 GB, free: 9.316 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.8326, allocations: 0 / 0.8736 GB, free: 9.316 MB / 0.6387 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001014/0.8336, allocations: 0.5316 MB / 0.8741 GB, free: 8.777 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.8337, allocations: 7.984 kB / 0.8741 GB, free: 8.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.8337, allocations: 4 kB / 0.8741 GB, free: 8.766 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.8337, allocations: 4 kB / 0.8741 GB, free: 8.762 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007482/0.8345, allocations: 141 kB / 0.8743 GB, free: 8.629 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004127/0.8349, allocations: 0.586 MB / 0.8748 GB, free: 8.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005743/0.8355, allocations: 51.52 kB / 0.8749 GB, free: 7.969 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.492e-05/0.8356, allocations: 23.98 kB / 0.8749 GB, free: 7.945 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005321/0.8361, allocations: 348.9 kB / 0.8752 GB, free: 7.598 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004437/0.8366, allocations: 280.4 kB / 0.8755 GB, free: 7.281 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009631/0.8375, allocations: 456.5 kB / 0.8759 GB, free: 6.805 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.845e-06/0.8375, allocations: 0 / 0.8759 GB, free: 6.805 MB / 0.6387 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.001014/0.8386, allocations: 0.5215 MB / 0.8765 GB, free: 6.277 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.8386, allocations: 14.09 kB / 0.8765 GB, free: 6.266 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.8386, allocations: 4 kB / 0.8765 GB, free: 6.262 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.913e-06/0.8386, allocations: 4 kB / 0.8765 GB, free: 6.258 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005052/0.8391, allocations: 119.8 kB / 0.8766 GB, free: 6.141 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.8391, allocations: 4 kB / 0.8766 GB, free: 6.137 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005373/0.8397, allocations: 44.23 kB / 0.8766 GB, free: 6.094 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.786e-05/0.8397, allocations: 23.98 kB / 0.8767 GB, free: 6.07 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.0001723/0.8399, allocations: 208.5 kB / 0.8769 GB, free: 5.859 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.84, allocations: 67.12 kB / 0.8769 GB, free: 5.793 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000913/0.8409, allocations: 482.6 kB / 0.8774 GB, free: 5.316 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.841, allocations: 4 kB / 0.8774 GB, free: 5.312 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.841, allocations: 0 / 0.8774 GB, free: 5.312 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009391/0.8419, allocations: 0.6988 MB / 0.8781 GB, free: 4.527 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002045/0.844, allocations: 1.288 MB / 0.8793 GB, free: 3.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.844, allocations: 4 kB / 0.8793 GB, free: 3.156 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006398/0.8446, allocations: 124.7 kB / 0.8794 GB, free: 3.035 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.626e-06/0.8447, allocations: 4 kB / 0.8795 GB, free: 3.031 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.425e-05/0.8447, allocations: 8 kB / 0.8795 GB, free: 3.023 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000338/0.845, allocations: 0.5994 MB / 0.88 GB, free: 2.402 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.772e-06/0.8451, allocations: 7.984 kB / 0.8801 GB, free: 2.395 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00125/0.8463, allocations: 0.8256 MB / 0.8809 GB, free: 1.531 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002405/0.8466, allocations: 184.2 kB / 0.881 GB, free: 1.332 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.277e-05/0.8467, allocations: 14.94 kB / 0.881 GB, free: 1.32 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004395/0.8471, allocations: 22.22 kB / 0.8811 GB, free: 1.301 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.792e-05/0.8472, allocations: 28.06 kB / 0.8811 GB, free: 1.273 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.969e-05/0.8472, allocations: 19.97 kB / 0.8811 GB, free: 1.254 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004514/0.8477, allocations: 350.8 kB / 0.8814 GB, free: 0.9141 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.51e-07/0.8477, allocations: 0 / 0.8814 GB, free: 0.9141 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001031/0.8487, allocations: 355.2 kB / 0.8818 GB, free: 0.5664 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.0005619/0.8493, allocations: 214.6 kB / 0.882 GB, free: 368 kB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001604/0.8509, allocations: 0.6652 MB / 0.8826 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/0.851, allocations: 4 kB / 0.8826 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004711/0.8514, allocations: 219.7 kB / 0.8829 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001773/0.8532, allocations: 358.8 kB / 0.8832 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002411/0.8556, allocations: 1.41 MB / 0.8846 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006664/0.8563, allocations: 0.9496 MB / 0.8855 GB, free: 12.69 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001917/0.8565, allocations: 55.42 kB / 0.8856 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of SimCode: time 1.342e-06/0.8565, allocations: 0 / 0.8856 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of Templates: time 0.01974/0.8763, allocations: 13.07 MB / 0.8983 GB, free: 15.64 MB / 0.67 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)