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.001518/0.001517, allocations: 116.6 kB / 17.04 MB, free: 6.133 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.001724/0.001724, allocations: 196 kB / 17.98 MB, free: 5.23 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.401/1.401, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7066/0.7066, allocations: 115.3 MB / 407.1 MB, free: 6.215 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 65.06 kB / 0.5582 GB, free: 32.31 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.163, allocations: 76.17 MB / 0.6326 GB, free: 4.52 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Density): time 0.5962/0.7592, allocations: 185 MB / 0.8133 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009296/0.7686, allocations: 6.976 MB / 0.8201 GB, free: 9.938 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00143/0.77, allocations: 31.84 kB / 0.8201 GB, free: 9.926 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001173/0.7712, allocations: 400.8 kB / 0.8205 GB, free: 9.617 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003921/0.7752, allocations: 1.437 MB / 0.8219 GB, free: 8.734 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003061/0.7783, allocations: 1.182 MB / 0.8231 GB, free: 7.988 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002614/0.7809, allocations: 1.938 MB / 0.825 GB, free: 6.953 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009753/0.7819, allocations: 0.6523 MB / 0.8256 GB, free: 6.559 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001801/0.7837, allocations: 0.8205 MB / 0.8264 GB, free: 6.133 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001442/0.7852, allocations: 0.6015 MB / 0.827 GB, free: 5.828 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000117/0.7853, allocations: 68.25 kB / 0.8271 GB, free: 5.828 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004001/0.7893, allocations: 1.93 MB / 0.8289 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004008/0.7897, allocations: 290.6 kB / 0.8292 GB, free: 4.773 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005955/0.7903, allocations: 433.7 kB / 0.8296 GB, free: 4.512 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00359/0.7939, allocations: 1.768 MB / 0.8314 GB, free: 3.52 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.794, allocations: 3.984 kB / 0.8314 GB, free: 3.516 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.873e-06/0.794, allocations: 0 / 0.8314 GB, free: 3.516 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.281e-05/0.794, allocations: 0 / 0.8314 GB, free: 3.516 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.001995/0.796, allocations: 1.164 MB / 0.8325 GB, free: 2.602 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.796, allocations: 9.5 kB / 0.8325 GB, free: 2.602 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00189/0.7979, allocations: 272.5 kB / 0.8328 GB, free: 2.48 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00107/0.799, allocations: 0.6117 MB / 0.8334 GB, free: 1.992 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.367e-05/0.7991, allocations: 39.72 kB / 0.8334 GB, free: 1.977 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.604e-05/0.7992, allocations: 60.03 kB / 0.8335 GB, free: 1.953 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001035/0.8002, allocations: 0.6343 MB / 0.8341 GB, free: 1.57 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.637e-05/0.8002, allocations: 3.984 kB / 0.8341 GB, free: 1.566 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.475e-05/0.8003, allocations: 24.81 kB / 0.8341 GB, free: 1.547 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.794e-05/0.8003, allocations: 25.06 kB / 0.8341 GB, free: 1.543 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008966/0.8012, allocations: 0.5229 MB / 0.8346 GB, free: 1.289 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.00304/0.8043, allocations: 2.454 MB / 0.837 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006652/0.805, allocations: 359.9 kB / 0.8374 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003578/0.8053, allocations: 243.4 kB / 0.8376 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005701/0.8059, allocations: 313.2 kB / 0.8379 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.806, allocations: 37.3 kB / 0.8379 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=39): time 2.024e-06/0.806, allocations: 0 / 0.8379 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39): time 0.001384/0.8074, allocations: 0.618 MB / 0.8385 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.8074, allocations: 53.69 kB / 0.8386 GB, free: 14.13 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005562/0.808, allocations: 0.4902 MB / 0.8391 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.724e-05/0.808, allocations: 35.8 kB / 0.8391 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002225/0.8083, allocations: 325.7 kB / 0.8394 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000133/0.8084, allocations: 139.3 kB / 0.8396 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001363/0.8085, allocations: 95.41 kB / 0.8396 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.8087, allocations: 371.7 kB / 0.84 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003287/0.809, allocations: 171.5 kB / 0.8402 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004005/0.8094, allocations: 290.1 kB / 0.8404 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006975/0.8101, allocations: 451.8 kB / 0.8409 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.8102, allocations: 0 / 0.8409 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009327/0.8111, allocations: 0.5254 MB / 0.8414 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.8111, allocations: 7.219 kB / 0.8414 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.8111, allocations: 2.875 kB / 0.8414 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.456e-05/0.8112, allocations: 2.625 kB / 0.8414 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006951/0.8119, allocations: 130.5 kB / 0.8415 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004098/0.8123, allocations: 0.6075 MB / 0.8421 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005788/0.8129, allocations: 50.14 kB / 0.8422 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.103e-05/0.8129, allocations: 18.81 kB / 0.8422 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005412/0.8135, allocations: 352.4 kB / 0.8425 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003839/0.8139, allocations: 280 kB / 0.8428 GB, free: 11 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006884/0.8146, allocations: 459.2 kB / 0.8432 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.306e-06/0.8146, allocations: 1.875 kB / 0.8432 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0009095/0.8155, allocations: 0.5125 MB / 0.8437 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.8155, allocations: 8.344 kB / 0.8437 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.8155, allocations: 6.875 kB / 0.8437 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/0.8156, allocations: 9.094 kB / 0.8437 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000487/0.816, allocations: 115.9 kB / 0.8439 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.8161, allocations: 10.83 kB / 0.8439 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005355/0.8166, allocations: 42.33 kB / 0.8439 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.43e-05/0.8166, allocations: 17.03 kB / 0.8439 GB, free: 10.38 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.0001778/0.8168, allocations: 207.6 kB / 0.8441 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.817, allocations: 65 kB / 0.8442 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000891/0.8179, allocations: 485.9 kB / 0.8446 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.8179, allocations: 2.781 kB / 0.8447 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.8179, allocations: 0.6875 kB / 0.8447 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007876/0.8187, allocations: 0.7024 MB / 0.8453 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001959/0.8206, allocations: 1.293 MB / 0.8466 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.8207, allocations: 0 / 0.8466 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006127/0.8213, allocations: 116.7 kB / 0.8467 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.11e-05/0.8213, allocations: 3.984 kB / 0.8467 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.227e-05/0.8213, allocations: 19.94 kB / 0.8467 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003276/0.8217, allocations: 0.5977 MB / 0.8473 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.8217, allocations: 0.75 kB / 0.8473 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00119/0.8229, allocations: 0.7981 MB / 0.8481 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002653/0.8232, allocations: 176.4 kB / 0.8483 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.341e-05/0.8232, allocations: 19.92 kB / 0.8483 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004144/0.8237, allocations: 22.05 kB / 0.8483 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.982e-05/0.8238, allocations: 27.97 kB / 0.8483 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.894e-05/0.8238, allocations: 12.12 kB / 0.8483 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004114/0.8242, allocations: 354.8 kB / 0.8487 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8242, allocations: 0 / 0.8487 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001038/0.8253, allocations: 359.1 kB / 0.849 GB, free: 5.746 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.0005086/0.8258, allocations: 221 kB / 0.8492 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001495/0.8273, allocations: 0.672 MB / 0.8499 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.8273, allocations: 3.984 kB / 0.8499 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004146/0.8277, allocations: 219.7 kB / 0.8501 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001663/0.8294, allocations: 360.8 kB / 0.8505 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002458/0.8319, allocations: 1.433 MB / 0.8519 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000543/0.8324, allocations: 0.9457 MB / 0.8528 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001973/0.8326, allocations: 55.44 kB / 0.8528 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of SimCode: time 7.81e-07/0.8327, allocations: 0 / 0.8528 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of Templates: time 0.01877/0.8514, allocations: 12.95 MB / 0.8655 GB, free: 4.918 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)