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.005489/0.005489, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.00125/0.00125, allocations: 193.2 kB / 16.67 MB, free: 5.969 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.351/1.351, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7547/0.7547, allocations: 132.2 MB / 422.7 MB, free: 1.723 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001125/0.001125, allocations: 58.84 kB / 0.5814 GB, free: 1.023 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1748, allocations: 80.2 MB / 0.6597 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Density): time 0.6192/0.7941, allocations: 185 MB / 0.8404 GB, free: 2.977 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01017/0.8043, allocations: 6.971 MB / 0.8472 GB, free: 2.883 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001342/0.8057, allocations: 32.06 kB / 0.8472 GB, free: 2.883 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001222/0.8069, allocations: 396.8 kB / 0.8476 GB, free: 2.879 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003432/0.8104, allocations: 1.454 MB / 0.849 GB, free: 2.812 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002683/0.8131, allocations: 1.156 MB / 0.8501 GB, free: 2.781 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001898/0.815, allocations: 1.94 MB / 0.852 GB, free: 2.777 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00075/0.8158, allocations: 0.6666 MB / 0.8527 GB, free: 2.703 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001194/0.817, allocations: 0.8239 MB / 0.8535 GB, free: 2.699 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001127/0.8181, allocations: 0.595 MB / 0.8541 GB, free: 2.699 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001178/0.8182, allocations: 68.31 kB / 0.8541 GB, free: 2.699 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003092/0.8213, allocations: 1.926 MB / 0.856 GB, free: 2.68 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003175/0.8217, allocations: 295.9 kB / 0.8563 GB, free: 2.676 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004263/0.8221, allocations: 432.2 kB / 0.8567 GB, free: 2.676 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002411/0.8245, allocations: 1.773 MB / 0.8584 GB, free: 2.496 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.8245, allocations: 8.281 kB / 0.8585 GB, free: 2.492 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.853e-06/0.8245, allocations: 0 / 0.8585 GB, free: 2.492 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.622e-05/0.8246, allocations: 0.7812 kB / 0.8585 GB, free: 2.492 MB / 0.6387 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.001469/0.826, allocations: 1.185 MB / 0.8596 GB, free: 1.777 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.8261, allocations: 12.84 kB / 0.8596 GB, free: 1.773 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001737/0.8278, allocations: 280.4 kB / 0.8599 GB, free: 1.727 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009426/0.8288, allocations: 0.6174 MB / 0.8605 GB, free: 1.438 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.431e-05/0.8288, allocations: 39.56 kB / 0.8605 GB, free: 1.438 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/0.829, allocations: 58.56 kB / 0.8606 GB, free: 1.438 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/0.83, allocations: 0.6316 MB / 0.8612 GB, free: 1.363 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.594e-05/0.83, allocations: 7.031 kB / 0.8612 GB, free: 1.359 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.742e-05/0.8301, allocations: 26.03 kB / 0.8612 GB, free: 1.359 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.478e-05/0.8301, allocations: 24.41 kB / 0.8613 GB, free: 1.355 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008581/0.831, allocations: 0.5179 MB / 0.8618 GB, free: 1.348 MB / 0.6387 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.002638/0.8336, allocations: 2.451 MB / 0.8642 GB, free: 16.02 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005188/0.8342, allocations: 379.4 kB / 0.8645 GB, free: 16 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003165/0.8345, allocations: 234.7 kB / 0.8647 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005163/0.835, allocations: 307.8 kB / 0.865 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.8351, allocations: 37.61 kB / 0.8651 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=39): time 2.054e-06/0.8351, allocations: 4.984 kB / 0.8651 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of matching and sorting (n=39): time 0.001186/0.8363, allocations: 0.6226 MB / 0.8657 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.8363, allocations: 55.09 kB / 0.8657 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004459/0.8368, allocations: 0.4919 MB / 0.8662 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.765e-05/0.8368, allocations: 32.77 kB / 0.8662 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001745/0.837, allocations: 331.6 kB / 0.8666 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/0.8371, allocations: 146.9 kB / 0.8667 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.8372, allocations: 91.14 kB / 0.8668 GB, free: 15.1 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.8374, allocations: 373.9 kB / 0.8671 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002773/0.8377, allocations: 167 kB / 0.8673 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003607/0.838, allocations: 293.9 kB / 0.8676 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006167/0.8387, allocations: 449 kB / 0.868 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.8387, allocations: 2.125 kB / 0.868 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007818/0.8395, allocations: 0.5228 MB / 0.8685 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.8395, allocations: 8.938 kB / 0.8685 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.8395, allocations: 0 / 0.8685 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.8395, allocations: 8.234 kB / 0.8685 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006523/0.8402, allocations: 134.6 kB / 0.8687 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000365/0.8406, allocations: 0.5979 MB / 0.8693 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004766/0.841, allocations: 59.5 kB / 0.8693 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.612e-05/0.8411, allocations: 18.06 kB / 0.8693 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004308/0.8415, allocations: 354 kB / 0.8697 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003739/0.8419, allocations: 286 kB / 0.8699 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005951/0.8425, allocations: 461.2 kB / 0.8704 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.553e-06/0.8425, allocations: 0 / 0.8704 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0007343/0.8433, allocations: 0.5228 MB / 0.8709 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 9.337e-06/0.8433, allocations: 10.31 kB / 0.8709 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.016e-06/0.8433, allocations: 3.406 kB / 0.8709 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.977e-06/0.8433, allocations: 2.562 kB / 0.8709 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004377/0.8437, allocations: 119.4 kB / 0.871 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.8438, allocations: 11.09 kB / 0.871 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004577/0.8442, allocations: 45.2 kB / 0.8711 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.148e-05/0.8443, allocations: 20.47 kB / 0.8711 GB, free: 13.51 MB / 0.6544 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.0001419/0.8444, allocations: 206 kB / 0.8713 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.365e-05/0.8445, allocations: 61.59 kB / 0.8713 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007806/0.8453, allocations: 483.6 kB / 0.8718 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.351e-06/0.8453, allocations: 7.875 kB / 0.8718 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.8453, allocations: 0 / 0.8718 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006961/0.846, allocations: 0.7102 MB / 0.8725 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001619/0.8477, allocations: 1.274 MB / 0.8738 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.8477, allocations: 0 / 0.8738 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000551/0.8482, allocations: 126.6 kB / 0.8739 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.8482, allocations: 3.312 kB / 0.8739 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.288e-05/0.8483, allocations: 17.77 kB / 0.8739 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002625/0.8485, allocations: 0.5946 MB / 0.8745 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.8486, allocations: 4.156 kB / 0.8745 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001061/0.8496, allocations: 0.8215 MB / 0.8753 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002083/0.8498, allocations: 178.7 kB / 0.8755 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.725e-05/0.8499, allocations: 14.06 kB / 0.8755 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003959/0.8503, allocations: 21.59 kB / 0.8755 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.297e-05/0.8504, allocations: 31.06 kB / 0.8755 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.054e-05/0.8505, allocations: 15.12 kB / 0.8755 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003343/0.8508, allocations: 359.1 kB / 0.8759 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8508, allocations: 0.9375 kB / 0.8759 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008466/0.8516, allocations: 364 kB / 0.8762 GB, free: 11.34 MB / 0.6544 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.0004475/0.8521, allocations: 211.8 kB / 0.8764 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001219/0.8533, allocations: 0.6665 MB / 0.8771 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.8533, allocations: 1.094 kB / 0.8771 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003467/0.8537, allocations: 219.5 kB / 0.8773 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001468/0.8552, allocations: 364.4 kB / 0.8776 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001944/0.8571, allocations: 1.387 MB / 0.879 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004488/0.8576, allocations: 0.9484 MB / 0.8799 GB, free: 9.832 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005463/0.8581, allocations: 206.2 kB / 0.8801 GB, free: 9.793 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/0.8583, allocations: 46.91 kB / 0.8802 GB, free: 9.785 MB / 0.6544 GB Notification: Performance of SimCode: time 2.71e-07/0.8583, allocations: 6.531 kB / 0.8802 GB, free: 9.781 MB / 0.6544 GB Notification: Performance of Templates: time 0.01809/0.8764, allocations: 12.54 MB / 0.8924 GB, free: 6.066 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)