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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6887/0.6887, allocations: 132.2 MB / 148.9 MB, free: 12.16 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 222.9 MB / 403.3 MB, free: 7.098 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001061, allocations: 106.7 kB / 484.3 MB, free: 8.688 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001033/0.001033, allocations: 55.92 kB / 0.5618 GB, free: 71.02 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1323, allocations: 80.2 MB / 0.6402 GB, free: 6.75 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Density): time 0.501/0.6334, allocations: 182.8 MB / 0.8187 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.009644/0.643, allocations: 7.042 MB / 0.8256 GB, free: 5.207 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008437/0.6439, allocations: 27.81 kB / 0.8256 GB, free: 5.18 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001009/0.6449, allocations: 338.2 kB / 0.8259 GB, free: 4.848 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.003124/0.6481, allocations: 1.362 MB / 0.8272 GB, free: 3.48 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002728/0.6509, allocations: 1.048 MB / 0.8283 GB, free: 2.438 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.002739/0.6536, allocations: 2.724 MB / 0.8309 GB, free: 15.71 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009164/0.6545, allocations: 0.565 MB / 0.8315 GB, free: 15.14 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00155/0.6561, allocations: 0.7275 MB / 0.8322 GB, free: 14.41 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00153/0.6576, allocations: 0.6251 MB / 0.8328 GB, free: 13.78 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001218/0.6578, allocations: 40 kB / 0.8328 GB, free: 13.74 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003653/0.6614, allocations: 2.19 MB / 0.835 GB, free: 11.55 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003048/0.6618, allocations: 267.2 kB / 0.8352 GB, free: 11.29 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0005695/0.6623, allocations: 394.1 kB / 0.8356 GB, free: 10.9 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.002923/0.6653, allocations: 1.839 MB / 0.8374 GB, free: 9.055 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.6653, allocations: 0 / 0.8374 GB, free: 9.055 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.152e-06/0.6653, allocations: 0 / 0.8374 GB, free: 9.055 MB / 0.573 GB Notification: Performance of Transformations before backend: time 3.115e-05/0.6653, allocations: 0 / 0.8374 GB, free: 9.055 MB / 0.573 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.002038/0.6674, allocations: 1.165 MB / 0.8385 GB, free: 7.836 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.6674, allocations: 8.031 kB / 0.8385 GB, free: 7.828 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001724/0.6692, allocations: 270.7 kB / 0.8388 GB, free: 7.562 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009517/0.6701, allocations: 0.5754 MB / 0.8394 GB, free: 6.945 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.377e-05/0.6702, allocations: 41.31 kB / 0.8394 GB, free: 6.906 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.6703, allocations: 59.91 kB / 0.8395 GB, free: 6.848 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/0.6714, allocations: 0.64 MB / 0.8401 GB, free: 6.191 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/0.6714, allocations: 0 / 0.8401 GB, free: 6.191 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.186e-05/0.6715, allocations: 24 kB / 0.8401 GB, free: 6.168 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-05/0.6715, allocations: 21.31 kB / 0.8401 GB, free: 6.145 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008951/0.6724, allocations: 0.5126 MB / 0.8406 GB, free: 5.629 MB / 0.573 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.002736/0.6752, allocations: 2.449 MB / 0.843 GB, free: 2.969 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005784/0.6758, allocations: 377 kB / 0.8434 GB, free: 2.594 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003539/0.6761, allocations: 241.3 kB / 0.8436 GB, free: 2.355 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005222/0.6767, allocations: 307.5 kB / 0.8439 GB, free: 2 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/0.6767, allocations: 42.89 kB / 0.8439 GB, free: 1.949 MB / 0.573 GB Notification: Performance of pre-optimization done (n=39): time 1.864e-06/0.6767, allocations: 0 / 0.8439 GB, free: 1.949 MB / 0.573 GB Notification: Performance of matching and sorting (n=39): time 0.001261/0.678, allocations: 0.6106 MB / 0.8445 GB, free: 1.332 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.678, allocations: 59.34 kB / 0.8446 GB, free: 1.262 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005014/0.6785, allocations: 0.495 MB / 0.8451 GB, free: 0.7539 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 3.256e-05/0.6786, allocations: 37.64 kB / 0.8451 GB, free: 0.7109 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001987/0.6788, allocations: 324.5 kB / 0.8454 GB, free: 400 kB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/0.6789, allocations: 141.9 kB / 0.8456 GB, free: 256 kB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001363/0.679, allocations: 90.03 kB / 0.8457 GB, free: 160 kB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.6792, allocations: 366.8 kB / 0.846 GB, free: 15.79 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003084/0.6795, allocations: 170.5 kB / 0.8462 GB, free: 15.62 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003838/0.6799, allocations: 288.3 kB / 0.8464 GB, free: 15.3 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006616/0.6806, allocations: 456.2 kB / 0.8469 GB, free: 14.82 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.6806, allocations: 0 / 0.8469 GB, free: 14.82 MB / 0.5886 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008358/0.6814, allocations: 0.52 MB / 0.8474 GB, free: 14.29 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.6815, allocations: 8 kB / 0.8474 GB, free: 14.29 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.6815, allocations: 4.281 kB / 0.8474 GB, free: 14.28 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.6815, allocations: 7.984 kB / 0.8474 GB, free: 14.27 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006938/0.6822, allocations: 127.8 kB / 0.8475 GB, free: 14.15 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003453/0.6826, allocations: 0.6015 MB / 0.8481 GB, free: 13.52 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000581/0.6831, allocations: 73.27 kB / 0.8482 GB, free: 13.45 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.255e-05/0.6832, allocations: 21.44 kB / 0.8482 GB, free: 13.43 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004831/0.6837, allocations: 352.9 kB / 0.8485 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003796/0.6841, allocations: 280.3 kB / 0.8488 GB, free: 12.77 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006547/0.6847, allocations: 460.3 kB / 0.8492 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.673e-06/0.6848, allocations: 0 / 0.8492 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0008321/0.6856, allocations: 0.5203 MB / 0.8498 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.6856, allocations: 11.94 kB / 0.8498 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.6856, allocations: 4 kB / 0.8498 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.859e-06/0.6857, allocations: 4 kB / 0.8498 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004939/0.6862, allocations: 115.8 kB / 0.8499 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.6862, allocations: 4 kB / 0.8499 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000565/0.6867, allocations: 73.36 kB / 0.85 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.561e-05/0.6868, allocations: 20.69 kB / 0.85 GB, free: 11.53 MB / 0.5886 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.0001435/0.6869, allocations: 208.8 kB / 0.8502 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.742e-05/0.687, allocations: 63.28 kB / 0.8502 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008586/0.6879, allocations: 491.8 kB / 0.8507 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.6879, allocations: 4 kB / 0.8507 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.6879, allocations: 0 / 0.8507 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007748/0.6887, allocations: 0.7029 MB / 0.8514 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001903/0.6906, allocations: 1.288 MB / 0.8527 GB, free: 8.609 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.6906, allocations: 0 / 0.8527 GB, free: 8.609 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006092/0.6913, allocations: 125.8 kB / 0.8528 GB, free: 8.488 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.633e-06/0.6913, allocations: 4 kB / 0.8528 GB, free: 8.484 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.295e-05/0.6913, allocations: 16 kB / 0.8528 GB, free: 8.469 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002656/0.6916, allocations: 0.5977 MB / 0.8534 GB, free: 7.848 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.6916, allocations: 0 / 0.8534 GB, free: 7.848 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009024/0.7006, allocations: 4.516 MB / 0.8578 GB, free: 3.137 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002873/0.7009, allocations: 188.3 kB / 0.858 GB, free: 2.934 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.812e-05/0.701, allocations: 8 kB / 0.858 GB, free: 2.926 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004809/0.7015, allocations: 47.89 kB / 0.858 GB, free: 2.879 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.04e-05/0.7016, allocations: 23.97 kB / 0.858 GB, free: 2.855 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.284e-05/0.7017, allocations: 20 kB / 0.8581 GB, free: 2.836 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.000375/0.702, allocations: 354.8 kB / 0.8584 GB, free: 2.492 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.4e-07/0.702, allocations: 0 / 0.8584 GB, free: 2.492 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001923/0.704, allocations: 0.5655 MB / 0.859 GB, free: 1.926 MB / 0.5886 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.0005511/0.7045, allocations: 234.4 kB / 0.8592 GB, free: 1.699 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001472/0.706, allocations: 0.6653 MB / 0.8598 GB, free: 1.035 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.706, allocations: 256 / 0.8598 GB, free: 1.035 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0004063/0.7064, allocations: 235.7 kB / 0.86 GB, free: 0.8047 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001748/0.7082, allocations: 358 kB / 0.8604 GB, free: 468 kB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00252/0.7107, allocations: 1.902 MB / 0.8622 GB, free: 14.49 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005289/0.7113, allocations: 0.9575 MB / 0.8632 GB, free: 13.51 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0008103/0.7121, allocations: 220.9 kB / 0.8634 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001739/0.7123, allocations: 59.42 kB / 0.8634 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of SimCode: time 2.464e-06/0.7123, allocations: 0 / 0.8634 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of Templates: time 0.02341/0.7357, allocations: 13.57 MB / 0.8767 GB, free: 15.82 MB / 0.6198 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)