Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density") translateModel(IBPSA.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001274/0.001274, allocations: 107 kB / 16.4 MB, free: 6.5 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.001331/0.001331, allocations: 192 kB / 17.34 MB, free: 5.738 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.269/1.269, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6871/0.6871, allocations: 115.3 MB / 406.5 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001115/0.001115, allocations: 61.84 kB / 0.5577 GB, free: 32.24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1334, allocations: 76.19 MB / 0.6321 GB, free: 4.406 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Density): time 0.488/0.6215, allocations: 185 MB / 0.8128 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008142/0.6296, allocations: 6.982 MB / 0.8196 GB, free: 9.93 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001096/0.6308, allocations: 29.72 kB / 0.8196 GB, free: 9.918 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001038/0.6318, allocations: 398.6 kB / 0.82 GB, free: 9.613 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003299/0.6352, allocations: 1.444 MB / 0.8214 GB, free: 8.727 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002857/0.638, allocations: 1.161 MB / 0.8225 GB, free: 7.996 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002293/0.6403, allocations: 1.942 MB / 0.8244 GB, free: 6.953 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008525/0.6412, allocations: 0.6656 MB / 0.8251 GB, free: 6.547 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001458/0.6427, allocations: 0.8287 MB / 0.8259 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0011/0.6438, allocations: 0.5991 MB / 0.8265 GB, free: 5.82 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001028/0.6439, allocations: 72.03 kB / 0.8266 GB, free: 5.816 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003445/0.6474, allocations: 1.937 MB / 0.8284 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000283/0.6476, allocations: 290.4 kB / 0.8287 GB, free: 4.758 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004154/0.6481, allocations: 429.1 kB / 0.8291 GB, free: 4.496 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002524/0.6506, allocations: 1.765 MB / 0.8309 GB, free: 3.504 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.6506, allocations: 0 / 0.8309 GB, free: 3.504 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.483e-06/0.6506, allocations: 0 / 0.8309 GB, free: 3.504 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.228e-05/0.6506, allocations: 0 / 0.8309 GB, free: 3.504 MB / 0.5919 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.001642/0.6523, allocations: 1.17 MB / 0.832 GB, free: 2.586 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.6523, allocations: 10.06 kB / 0.832 GB, free: 2.586 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00177/0.6541, allocations: 273.5 kB / 0.8323 GB, free: 2.465 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000856/0.655, allocations: 0.5992 MB / 0.8329 GB, free: 1.984 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.018e-05/0.655, allocations: 43.56 kB / 0.8329 GB, free: 1.965 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.699e-05/0.6551, allocations: 55.61 kB / 0.8329 GB, free: 1.949 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009397/0.656, allocations: 0.6389 MB / 0.8336 GB, free: 1.562 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.6561, allocations: 3.938 kB / 0.8336 GB, free: 1.559 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.245e-05/0.6561, allocations: 25.84 kB / 0.8336 GB, free: 1.539 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.267e-05/0.6562, allocations: 18.34 kB / 0.8336 GB, free: 1.539 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008211/0.657, allocations: 0.5228 MB / 0.8341 GB, free: 1.281 MB / 0.5919 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.002608/0.6596, allocations: 2.451 MB / 0.8365 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005759/0.6602, allocations: 368.5 kB / 0.8369 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003323/0.6605, allocations: 239.7 kB / 0.8371 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000519/0.6611, allocations: 305 kB / 0.8374 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.6611, allocations: 41.55 kB / 0.8374 GB, free: 14.49 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=39): time 2.976e-06/0.6611, allocations: 3.984 kB / 0.8374 GB, free: 14.49 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39): time 0.001183/0.6623, allocations: 0.6133 MB / 0.838 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/0.6623, allocations: 60.66 kB / 0.8381 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004654/0.6628, allocations: 0.4942 MB / 0.8386 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.789e-05/0.6629, allocations: 32.61 kB / 0.8386 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000193/0.6631, allocations: 330 kB / 0.8389 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/0.6632, allocations: 133.2 kB / 0.839 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/0.6633, allocations: 92.12 kB / 0.8391 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.6634, allocations: 370.3 kB / 0.8395 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002891/0.6637, allocations: 177.2 kB / 0.8397 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003576/0.6641, allocations: 283.1 kB / 0.8399 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006113/0.6647, allocations: 456.8 kB / 0.8404 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.6647, allocations: 0 / 0.8404 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.000779/0.6655, allocations: 0.5193 MB / 0.8409 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.6655, allocations: 4.781 kB / 0.8409 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.6655, allocations: 4.656 kB / 0.8409 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.6656, allocations: 6.75 kB / 0.8409 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00064/0.6662, allocations: 135.2 kB / 0.841 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003453/0.6666, allocations: 0.6032 MB / 0.8416 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005014/0.6671, allocations: 56.03 kB / 0.8417 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.812e-05/0.6671, allocations: 20.12 kB / 0.8417 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004519/0.6676, allocations: 348.9 kB / 0.842 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003427/0.6679, allocations: 280.1 kB / 0.8423 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006126/0.6685, allocations: 448.4 kB / 0.8427 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.563e-06/0.6686, allocations: 0 / 0.8427 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0007806/0.6693, allocations: 0.5238 MB / 0.8432 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/0.6694, allocations: 9.688 kB / 0.8432 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.6694, allocations: 2.312 kB / 0.8432 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.913e-06/0.6694, allocations: 9.156 kB / 0.8432 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004641/0.6699, allocations: 118.7 kB / 0.8433 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.6699, allocations: 8.531 kB / 0.8434 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000482/0.6704, allocations: 46.91 kB / 0.8434 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.907e-05/0.6704, allocations: 12.66 kB / 0.8434 GB, free: 10.37 MB / 0.6075 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.0001663/0.6706, allocations: 210.2 kB / 0.8436 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.118e-05/0.6707, allocations: 59.16 kB / 0.8437 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008286/0.6715, allocations: 494.8 kB / 0.8441 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.6715, allocations: 4.812 kB / 0.8441 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.6715, allocations: 0 / 0.8441 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007178/0.6722, allocations: 0.7018 MB / 0.8448 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001732/0.674, allocations: 1.286 MB / 0.8461 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.674, allocations: 128 / 0.8461 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00059/0.6746, allocations: 132.1 kB / 0.8462 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.6746, allocations: 4 kB / 0.8462 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.153e-05/0.6747, allocations: 11.98 kB / 0.8462 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002976/0.675, allocations: 0.5937 MB / 0.8468 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.189e-06/0.675, allocations: 7.938 kB / 0.8468 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00108/0.6761, allocations: 0.7909 MB / 0.8476 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002204/0.6763, allocations: 180.4 kB / 0.8478 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.815e-05/0.6764, allocations: 15.94 kB / 0.8478 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000394/0.6768, allocations: 23.86 kB / 0.8478 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.202e-05/0.6769, allocations: 27.95 kB / 0.8478 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.67e-05/0.6769, allocations: 20 kB / 0.8478 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003746/0.6773, allocations: 354.8 kB / 0.8482 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6773, allocations: 0 / 0.8482 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008681/0.6781, allocations: 359.1 kB / 0.8485 GB, free: 5.645 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,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.0004211/0.6786, allocations: 203.3 kB / 0.8487 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001335/0.6799, allocations: 0.6736 MB / 0.8494 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.6799, allocations: 4 kB / 0.8494 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003949/0.6803, allocations: 223.8 kB / 0.8496 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001928/0.6823, allocations: 356.9 kB / 0.8499 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001963/0.6843, allocations: 1.382 MB / 0.8513 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004461/0.6847, allocations: 0.9496 MB / 0.8522 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005517/0.6853, allocations: 208.9 kB / 0.8524 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.6854, allocations: 51.44 kB / 0.8525 GB, free: 1.562 MB / 0.6075 GB Notification: Performance of SimCode: time 7.01e-07/0.6854, allocations: 4 kB / 0.8525 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of Templates: time 0.01811/0.7035, allocations: 12.48 MB / 0.8646 GB, free: 5.273 MB / 0.6231 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.pipe 2>&1)