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.001491/0.001491, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001678/0.001678, allocations: 191.4 kB / 16.25 MB, free: 6.633 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.309/1.309, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7179/0.7179, allocations: 132.2 MB / 422.3 MB, free: 1.902 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 63.59 kB / 0.5013 GB, free: 4.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3969/0.3989, allocations: 80.2 MB / 0.5796 GB, free: 4.555 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Density): time 0.2039/0.6028, allocations: 182.6 MB / 0.7579 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01089/0.6137, allocations: 6.925 MB / 0.7647 GB, free: 3.504 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001163/0.6149, allocations: 27.81 kB / 0.7647 GB, free: 3.477 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001399/0.6164, allocations: 358.2 kB / 0.7651 GB, free: 3.125 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003843/0.6203, allocations: 1.343 MB / 0.7664 GB, free: 1.777 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003179/0.6235, allocations: 1.076 MB / 0.7674 GB, free: 0.707 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00288/0.6264, allocations: 1.948 MB / 0.7693 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001048/0.6274, allocations: 0.6414 MB / 0.77 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001687/0.6291, allocations: 0.8172 MB / 0.7708 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001451/0.6306, allocations: 0.6481 MB / 0.7714 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001722/0.6308, allocations: 68 kB / 0.7715 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003279/0.6341, allocations: 1.995 MB / 0.7734 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004461/0.6345, allocations: 291.2 kB / 0.7737 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006291/0.6352, allocations: 434 kB / 0.7741 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003116/0.6383, allocations: 1.866 MB / 0.7759 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.6383, allocations: 4 kB / 0.7759 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6383, allocations: 0 / 0.7759 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.082e-05/0.6384, allocations: 0 / 0.7759 GB, free: 7.977 MB / 0.6075 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.002382/0.6408, allocations: 1.153 MB / 0.777 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.6408, allocations: 15.97 kB / 0.7771 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001991/0.6428, allocations: 270.8 kB / 0.7773 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001128/0.6439, allocations: 0.5831 MB / 0.7779 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.862e-05/0.644, allocations: 41.31 kB / 0.7779 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/0.6441, allocations: 63.84 kB / 0.778 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001124/0.6453, allocations: 0.6362 MB / 0.7786 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.33e-05/0.6453, allocations: 7.938 kB / 0.7786 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.547e-05/0.6454, allocations: 20 kB / 0.7786 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.305e-05/0.6454, allocations: 21.31 kB / 0.7787 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009617/0.6464, allocations: 0.5126 MB / 0.7792 GB, free: 4.551 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.003174/0.6495, allocations: 2.445 MB / 0.7815 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006105/0.6502, allocations: 379.2 kB / 0.7819 GB, free: 1.516 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003579/0.6505, allocations: 237.4 kB / 0.7821 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005676/0.6511, allocations: 307.5 kB / 0.7824 GB, free: 0.9258 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/0.6512, allocations: 38.89 kB / 0.7825 GB, free: 0.8789 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=39): time 2.265e-06/0.6512, allocations: 0 / 0.7825 GB, free: 0.8789 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39): time 0.0014/0.6526, allocations: 0.6151 MB / 0.7831 GB, free: 264 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/0.6526, allocations: 59.41 kB / 0.7831 GB, free: 192 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005592/0.6532, allocations: 0.4989 MB / 0.7836 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.832e-05/0.6533, allocations: 29.7 kB / 0.7836 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002155/0.6535, allocations: 328.5 kB / 0.784 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001237/0.6536, allocations: 134 kB / 0.7841 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001406/0.6538, allocations: 97.97 kB / 0.7842 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.6539, allocations: 362.8 kB / 0.7845 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003086/0.6542, allocations: 178.4 kB / 0.7847 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003991/0.6546, allocations: 288.3 kB / 0.785 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006783/0.6553, allocations: 453 kB / 0.7854 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.6553, allocations: 0 / 0.7854 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.000942/0.6563, allocations: 0.5291 MB / 0.7859 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.6563, allocations: 8 kB / 0.7859 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.6563, allocations: 0 / 0.7859 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.6563, allocations: 7.938 kB / 0.7859 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007521/0.6571, allocations: 127.8 kB / 0.786 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003907/0.6575, allocations: 0.5977 MB / 0.7866 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006999/0.6582, allocations: 75.58 kB / 0.7867 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.905e-05/0.6583, allocations: 23.98 kB / 0.7867 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005328/0.6588, allocations: 350.4 kB / 0.7871 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004101/0.6592, allocations: 284.3 kB / 0.7873 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006548/0.6599, allocations: 444.4 kB / 0.7878 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.226e-06/0.6599, allocations: 3.938 kB / 0.7878 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0008512/0.6608, allocations: 0.5277 MB / 0.7883 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.6608, allocations: 8 kB / 0.7883 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-06/0.6608, allocations: 0 / 0.7883 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.773e-06/0.6608, allocations: 8 kB / 0.7883 GB, free: 10.67 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004856/0.6613, allocations: 111.9 kB / 0.7884 GB, free: 10.56 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.944e-06/0.6613, allocations: 12.22 kB / 0.7884 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005991/0.6619, allocations: 67.64 kB / 0.7885 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.379e-05/0.662, allocations: 20 kB / 0.7885 GB, free: 10.46 MB / 0.6231 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.0001768/0.6622, allocations: 208.1 kB / 0.7887 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.517e-05/0.6623, allocations: 55.34 kB / 0.7887 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008599/0.6631, allocations: 495.9 kB / 0.7892 GB, free: 9.707 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.6631, allocations: 4 kB / 0.7892 GB, free: 9.703 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.6631, allocations: 0 / 0.7892 GB, free: 9.703 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007458/0.6639, allocations: 0.7069 MB / 0.7899 GB, free: 8.91 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00197/0.6659, allocations: 1.284 MB / 0.7912 GB, free: 7.547 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/0.6659, allocations: 0 / 0.7912 GB, free: 7.547 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006038/0.6665, allocations: 119.9 kB / 0.7913 GB, free: 7.43 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-06/0.6665, allocations: 7.984 kB / 0.7913 GB, free: 7.422 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.1e-05/0.6666, allocations: 8.219 kB / 0.7913 GB, free: 7.414 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002822/0.6669, allocations: 0.6055 MB / 0.7919 GB, free: 6.785 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.6669, allocations: 3.984 kB / 0.7919 GB, free: 6.781 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001106/0.668, allocations: 0.8257 MB / 0.7927 GB, free: 5.918 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002389/0.6682, allocations: 176.2 kB / 0.7929 GB, free: 5.727 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.908e-05/0.6683, allocations: 16 kB / 0.7929 GB, free: 5.711 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004706/0.6688, allocations: 43.95 kB / 0.7929 GB, free: 5.668 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.086e-05/0.6689, allocations: 27.97 kB / 0.7929 GB, free: 5.641 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.107e-05/0.6689, allocations: 19.98 kB / 0.793 GB, free: 5.621 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000352/0.6693, allocations: 346.8 kB / 0.7933 GB, free: 5.285 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6693, allocations: 0 / 0.7933 GB, free: 5.285 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000938/0.6702, allocations: 375 kB / 0.7937 GB, free: 4.918 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.0004574/0.6707, allocations: 202.9 kB / 0.7939 GB, free: 4.719 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001435/0.6721, allocations: 0.709 MB / 0.7945 GB, free: 4.012 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.6722, allocations: 4.062 kB / 0.7945 GB, free: 4.008 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003868/0.6725, allocations: 224.5 kB / 0.7948 GB, free: 3.789 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00154/0.6741, allocations: 356.1 kB / 0.7951 GB, free: 3.465 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002215/0.6763, allocations: 1.632 MB / 0.7967 GB, free: 1.781 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004738/0.6768, allocations: 0.9458 MB / 0.7976 GB, free: 0.8086 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0006674/0.6775, allocations: 208.9 kB / 0.7978 GB, free: 0.6016 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001312/0.6776, allocations: 55.36 kB / 0.7979 GB, free: 0.5469 MB / 0.6231 GB Notification: Performance of SimCode: time 2.5e-07/0.6776, allocations: 0 / 0.7979 GB, free: 0.5469 MB / 0.6231 GB Notification: Performance of Templates: time 0.01936/0.697, allocations: 12.33 MB / 0.8099 GB, free: 4.426 MB / 0.6387 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)