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.001351/0.001351, allocations: 102 kB / 16.4 MB, free: 6.461 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.001199/0.001199, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7856/0.7856, allocations: 132.2 MB / 423.4 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002086/0.002086, allocations: 74.91 kB / 0.582 GB, free: 23.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.1722, allocations: 80.21 MB / 0.6603 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Density): time 0.596/0.7682, allocations: 185 MB / 0.841 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01018/0.7785, allocations: 6.957 MB / 0.8478 GB, free: 1.723 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001533/0.78, allocations: 27.38 kB / 0.8479 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001565/0.7816, allocations: 400.8 kB / 0.8483 GB, free: 1.383 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004875/0.7865, allocations: 1.441 MB / 0.8497 GB, free: 280 kB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003658/0.7902, allocations: 1.176 MB / 0.8508 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003146/0.7934, allocations: 1.937 MB / 0.8527 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00124/0.7946, allocations: 0.6601 MB / 0.8533 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002102/0.7968, allocations: 0.8403 MB / 0.8542 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001854/0.7986, allocations: 0.5958 MB / 0.8547 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002767/0.7989, allocations: 67.78 kB / 0.8548 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004599/0.8035, allocations: 1.924 MB / 0.8567 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005794/0.8041, allocations: 296.4 kB / 0.857 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001103/0.8053, allocations: 430.8 kB / 0.8574 GB, free: 11.49 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00451/0.8098, allocations: 1.776 MB / 0.8591 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.8098, allocations: 0 / 0.8591 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8098, allocations: 4 kB / 0.8591 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.22e-05/0.8099, allocations: 0 / 0.8591 GB, free: 10.33 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.002647/0.8125, allocations: 1.157 MB / 0.8603 GB, free: 9.125 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.8126, allocations: 8.031 kB / 0.8603 GB, free: 9.117 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002042/0.8146, allocations: 278.7 kB / 0.8605 GB, free: 8.844 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00124/0.8159, allocations: 0.6143 MB / 0.8611 GB, free: 8.184 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.9e-05/0.8159, allocations: 41.3 kB / 0.8612 GB, free: 8.145 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001105/0.8161, allocations: 56 kB / 0.8612 GB, free: 8.09 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001171/0.8172, allocations: 0.6284 MB / 0.8618 GB, free: 7.445 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/0.8173, allocations: 3.938 kB / 0.8618 GB, free: 7.441 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.09e-05/0.8173, allocations: 27.98 kB / 0.8619 GB, free: 7.414 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.129e-05/0.8174, allocations: 25.31 kB / 0.8619 GB, free: 7.391 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001005/0.8184, allocations: 0.5126 MB / 0.8624 GB, free: 6.875 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.003228/0.8216, allocations: 2.449 MB / 0.8648 GB, free: 4.211 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006403/0.8223, allocations: 374.1 kB / 0.8651 GB, free: 3.84 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003759/0.8227, allocations: 241.3 kB / 0.8654 GB, free: 3.602 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005895/0.8233, allocations: 311.5 kB / 0.8657 GB, free: 3.242 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.8233, allocations: 34.89 kB / 0.8657 GB, free: 3.199 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=39): time 2.555e-06/0.8233, allocations: 7.938 kB / 0.8657 GB, free: 3.191 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39): time 0.001436/0.8248, allocations: 0.6147 MB / 0.8663 GB, free: 2.57 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/0.8248, allocations: 59.34 kB / 0.8664 GB, free: 2.5 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005758/0.8254, allocations: 499 kB / 0.8668 GB, free: 2.004 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.348e-05/0.8255, allocations: 41.7 kB / 0.8669 GB, free: 1.957 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002271/0.8257, allocations: 324.4 kB / 0.8672 GB, free: 1.633 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001345/0.8259, allocations: 142 kB / 0.8673 GB, free: 1.492 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001335/0.826, allocations: 86.12 kB / 0.8674 GB, free: 1.402 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.8262, allocations: 370.8 kB / 0.8678 GB, free: 1.031 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003286/0.8265, allocations: 170.5 kB / 0.8679 GB, free: 0.8594 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004184/0.8269, allocations: 288.3 kB / 0.8682 GB, free: 0.5352 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007258/0.8277, allocations: 457.3 kB / 0.8686 GB, free: 60 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.8277, allocations: 0 / 0.8686 GB, free: 60 kB / 0.6231 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.000958/0.8286, allocations: 0.5238 MB / 0.8691 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.855e-05/0.8287, allocations: 4 kB / 0.8691 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.958e-06/0.8287, allocations: 6.938 kB / 0.8692 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/0.8287, allocations: 11.98 kB / 0.8692 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007669/0.8295, allocations: 131.8 kB / 0.8693 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003785/0.8299, allocations: 0.5899 MB / 0.8699 GB, free: 14.76 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006071/0.8305, allocations: 56.17 kB / 0.8699 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.013e-05/0.8305, allocations: 23.98 kB / 0.8699 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00055/0.8311, allocations: 349.7 kB / 0.8703 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004223/0.8315, allocations: 280.3 kB / 0.8705 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006754/0.8322, allocations: 448.4 kB / 0.871 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.567e-06/0.8322, allocations: 0 / 0.871 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0008826/0.8331, allocations: 0.5316 MB / 0.8715 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.8332, allocations: 8 kB / 0.8715 GB, free: 13.01 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.8332, allocations: 4 kB / 0.8715 GB, free: 13 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.023e-06/0.8332, allocations: 4 kB / 0.8715 GB, free: 13 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000496/0.8337, allocations: 115.7 kB / 0.8716 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.8337, allocations: 8.219 kB / 0.8716 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005959/0.8343, allocations: 51.61 kB / 0.8717 GB, free: 12.83 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.966e-05/0.8343, allocations: 20 kB / 0.8717 GB, free: 12.81 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.000178/0.8345, allocations: 204.2 kB / 0.8719 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/0.8347, allocations: 63.19 kB / 0.8719 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000911/0.8356, allocations: 488 kB / 0.8724 GB, free: 12.06 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.8356, allocations: 4 kB / 0.8724 GB, free: 12.06 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.8356, allocations: 0 / 0.8724 GB, free: 12.06 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007754/0.8364, allocations: 0.703 MB / 0.8731 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002066/0.8385, allocations: 1.282 MB / 0.8744 GB, free: 9.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.8385, allocations: 4 kB / 0.8744 GB, free: 9.906 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006429/0.8391, allocations: 133.6 kB / 0.8745 GB, free: 9.777 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.257e-06/0.8392, allocations: 4 kB / 0.8745 GB, free: 9.773 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.484e-05/0.8392, allocations: 8 kB / 0.8745 GB, free: 9.766 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003391/0.8395, allocations: 0.5975 MB / 0.8751 GB, free: 9.145 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.8396, allocations: 4.031 kB / 0.8751 GB, free: 9.141 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001241/0.8408, allocations: 0.8215 MB / 0.8759 GB, free: 8.281 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002626/0.8411, allocations: 184.2 kB / 0.8761 GB, free: 8.082 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.451e-05/0.8412, allocations: 11.98 kB / 0.8761 GB, free: 8.07 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004445/0.8416, allocations: 19.98 kB / 0.8761 GB, free: 8.051 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.617e-05/0.8417, allocations: 32.05 kB / 0.8761 GB, free: 8.02 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.495e-05/0.8418, allocations: 17.11 kB / 0.8761 GB, free: 8.004 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004027/0.8422, allocations: 350.8 kB / 0.8765 GB, free: 7.664 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8422, allocations: 4 kB / 0.8765 GB, free: 7.66 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001089/0.8433, allocations: 355.2 kB / 0.8768 GB, free: 7.312 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.0005681/0.8439, allocations: 207.4 kB / 0.877 GB, free: 7.109 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001636/0.8455, allocations: 0.6645 MB / 0.8777 GB, free: 6.445 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.8456, allocations: 7.938 kB / 0.8777 GB, free: 6.438 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004799/0.846, allocations: 217.3 kB / 0.8779 GB, free: 6.227 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001743/0.8478, allocations: 365.4 kB / 0.8782 GB, free: 5.887 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002561/0.8504, allocations: 1.427 MB / 0.8796 GB, free: 4.402 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006546/0.851, allocations: 0.9458 MB / 0.8805 GB, free: 3.43 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001755/0.8512, allocations: 51.42 kB / 0.8806 GB, free: 3.379 MB / 0.6387 GB Notification: Performance of SimCode: time 3.41e-07/0.8512, allocations: 4 kB / 0.8806 GB, free: 3.375 MB / 0.6387 GB Notification: Performance of Templates: time 0.01956/0.8708, allocations: 13.07 MB / 0.8934 GB, free: 6.398 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)