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.001096/0.001096, allocations: 106.7 kB / 16.41 MB, free: 6.512 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.001276/0.001276, 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.331/1.331, 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.783/0.783, allocations: 135.1 MB / 426.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 66.23 kB / 0.5863 GB, free: 21.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1414, allocations: 80.93 MB / 0.6653 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Density): time 0.543/0.6844, allocations: 185 MB / 0.846 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009017/0.6935, allocations: 6.976 MB / 0.8528 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009197/0.6944, allocations: 25.62 kB / 0.8528 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001121/0.6955, allocations: 415.7 kB / 0.8532 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003495/0.6991, allocations: 1.501 MB / 0.8547 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002651/0.7017, allocations: 1.174 MB / 0.8559 GB, free: 9.773 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002194/0.7039, allocations: 1.948 MB / 0.8578 GB, free: 8.656 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008677/0.7048, allocations: 0.6568 MB / 0.8584 GB, free: 8.25 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001445/0.7063, allocations: 0.8469 MB / 0.8592 GB, free: 7.746 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001078/0.7074, allocations: 0.5974 MB / 0.8598 GB, free: 7.398 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 8.976e-05/0.7075, allocations: 67.97 kB / 0.8599 GB, free: 7.398 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003295/0.7108, allocations: 1.941 MB / 0.8618 GB, free: 6.152 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003027/0.7111, allocations: 295.2 kB / 0.8621 GB, free: 5.863 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006005/0.7117, allocations: 434 kB / 0.8625 GB, free: 5.438 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003013/0.7147, allocations: 1.765 MB / 0.8642 GB, free: 3.668 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.7147, allocations: 4 kB / 0.8642 GB, free: 3.664 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7147, allocations: 0 / 0.8642 GB, free: 3.664 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.819e-05/0.7147, allocations: 0 / 0.8642 GB, free: 3.664 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.001781/0.7165, allocations: 1.161 MB / 0.8653 GB, free: 2.453 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.7166, allocations: 13.11 kB / 0.8653 GB, free: 2.441 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001902/0.7185, allocations: 270.7 kB / 0.8656 GB, free: 2.176 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009219/0.7194, allocations: 0.6104 MB / 0.8662 GB, free: 1.52 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.808e-05/0.7195, allocations: 41.31 kB / 0.8662 GB, free: 1.48 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.998e-05/0.7196, allocations: 56 kB / 0.8663 GB, free: 1.426 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/0.7206, allocations: 0.6478 MB / 0.8669 GB, free: 0.7617 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.7206, allocations: 0 / 0.8669 GB, free: 0.7617 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.286e-05/0.7207, allocations: 20 kB / 0.8669 GB, free: 0.7422 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.084e-05/0.7207, allocations: 17.31 kB / 0.867 GB, free: 0.7266 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009183/0.7217, allocations: 0.5204 MB / 0.8675 GB, free: 212 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.002868/0.7245, allocations: 2.449 MB / 0.8699 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005915/0.7251, allocations: 379.7 kB / 0.8702 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003588/0.7255, allocations: 237 kB / 0.8704 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005475/0.7261, allocations: 303.6 kB / 0.8707 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.052e-05/0.7261, allocations: 38.89 kB / 0.8708 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=39): time 2.104e-06/0.7261, allocations: 7.875 kB / 0.8708 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of matching and sorting (n=39): time 0.001386/0.7275, allocations: 0.6183 MB / 0.8714 GB, free: 11.9 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/0.7276, allocations: 59.34 kB / 0.8714 GB, free: 11.83 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005549/0.7281, allocations: 0.4951 MB / 0.8719 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.294e-05/0.7282, allocations: 29.7 kB / 0.872 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002294/0.7284, allocations: 336.4 kB / 0.8723 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001185/0.7286, allocations: 134 kB / 0.8724 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001511/0.7287, allocations: 86.12 kB / 0.8725 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.7289, allocations: 362.8 kB / 0.8728 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003205/0.7292, allocations: 178.5 kB / 0.873 GB, free: 10.19 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004015/0.7296, allocations: 292.2 kB / 0.8733 GB, free: 9.863 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006988/0.7303, allocations: 455.8 kB / 0.8737 GB, free: 9.391 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/0.7303, allocations: 0 / 0.8737 GB, free: 9.391 MB / 0.6387 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009176/0.7313, allocations: 0.524 MB / 0.8742 GB, free: 8.859 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.7313, allocations: 8 kB / 0.8742 GB, free: 8.852 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.7313, allocations: 0 / 0.8742 GB, free: 8.852 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.7313, allocations: 4 kB / 0.8742 GB, free: 8.848 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007235/0.7321, allocations: 139.7 kB / 0.8744 GB, free: 8.711 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003751/0.7324, allocations: 0.6018 MB / 0.875 GB, free: 8.086 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000554/0.733, allocations: 47.52 kB / 0.875 GB, free: 8.039 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.565e-05/0.7331, allocations: 16 kB / 0.875 GB, free: 8.023 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005175/0.7336, allocations: 352.9 kB / 0.8754 GB, free: 7.672 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003814/0.734, allocations: 284.4 kB / 0.8756 GB, free: 7.352 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006778/0.7347, allocations: 452.6 kB / 0.8761 GB, free: 6.879 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.824e-06/0.7347, allocations: 0 / 0.8761 GB, free: 6.879 MB / 0.6387 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0008645/0.7355, allocations: 0.5239 MB / 0.8766 GB, free: 6.348 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.7356, allocations: 4 kB / 0.8766 GB, free: 6.344 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.7356, allocations: 4.281 kB / 0.8766 GB, free: 6.34 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.903e-06/0.7356, allocations: 11.94 kB / 0.8766 GB, free: 6.328 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004863/0.7361, allocations: 115.9 kB / 0.8767 GB, free: 6.215 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.7361, allocations: 7.938 kB / 0.8767 GB, free: 6.207 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005303/0.7366, allocations: 43.66 kB / 0.8767 GB, free: 6.164 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.558e-05/0.7367, allocations: 16 kB / 0.8768 GB, free: 6.148 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.0001754/0.7369, allocations: 208.2 kB / 0.877 GB, free: 5.938 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.737, allocations: 67.12 kB / 0.877 GB, free: 5.871 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008748/0.7379, allocations: 485.4 kB / 0.8775 GB, free: 5.395 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.7379, allocations: 4 kB / 0.8775 GB, free: 5.391 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.7379, allocations: 0 / 0.8775 GB, free: 5.391 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007672/0.7387, allocations: 0.7004 MB / 0.8782 GB, free: 4.605 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001951/0.7406, allocations: 1.285 MB / 0.8794 GB, free: 3.242 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.7406, allocations: 4.062 kB / 0.8794 GB, free: 3.238 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006169/0.7413, allocations: 123.8 kB / 0.8796 GB, free: 3.117 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.858e-06/0.7413, allocations: 4 kB / 0.8796 GB, free: 3.113 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.164e-05/0.7413, allocations: 20.73 kB / 0.8796 GB, free: 3.094 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003086/0.7416, allocations: 0.5899 MB / 0.8802 GB, free: 2.48 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.7417, allocations: 3.938 kB / 0.8802 GB, free: 2.477 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001187/0.7428, allocations: 0.8214 MB / 0.881 GB, free: 1.617 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002425/0.7431, allocations: 188.2 kB / 0.8811 GB, free: 1.414 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.595e-05/0.7432, allocations: 12 kB / 0.8811 GB, free: 1.402 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00043/0.7436, allocations: 23.45 kB / 0.8812 GB, free: 1.383 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.534e-05/0.7437, allocations: 31.95 kB / 0.8812 GB, free: 1.352 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.03e-05/0.7438, allocations: 16 kB / 0.8812 GB, free: 1.336 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004305/0.7442, allocations: 350.8 kB / 0.8816 GB, free: 0.9961 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7442, allocations: 0 / 0.8816 GB, free: 0.9961 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001029/0.7452, allocations: 359.2 kB / 0.8819 GB, free: 0.6445 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.0005256/0.7458, allocations: 215.2 kB / 0.8821 GB, free: 448 kB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001485/0.7473, allocations: 0.6623 MB / 0.8827 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.339e-06/0.7473, allocations: 4.062 kB / 0.8827 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004251/0.7477, allocations: 231.7 kB / 0.883 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001642/0.7494, allocations: 349.8 kB / 0.8833 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002365/0.7518, allocations: 1.414 MB / 0.8847 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005525/0.7523, allocations: 0.9458 MB / 0.8856 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001705/0.7525, allocations: 55.44 kB / 0.8857 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of SimCode: time 6.01e-07/0.7525, allocations: 0 / 0.8857 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of Templates: time 0.01852/0.771, allocations: 13.07 MB / 0.8984 GB, free: 15.73 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)