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.0007952/0.0007952, allocations: 91.61 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008673/0.0008673, allocations: 178.1 kB / 16.58 MB, free: 6.852 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.352/1.352, allocations: 223.3 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7121/0.7121, allocations: 115.5 MB / 407.2 MB, free: 2.836 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004892/0.0004893, allocations: 12 kB / 495.2 MB, free: 6.719 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1937/0.1942, allocations: 77.52 MB / 0.5593 GB, free: 9.402 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Density): time 0.4214/0.6156, allocations: 168.3 MB / 0.7237 GB, free: 14.97 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009076/0.6248, allocations: 6.511 MB / 0.73 GB, free: 8.445 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006671/0.6255, allocations: 27.81 kB / 0.7301 GB, free: 8.418 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008393/0.6263, allocations: 270.2 kB / 0.7303 GB, free: 8.152 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002658/0.629, allocations: 1.054 MB / 0.7313 GB, free: 7.094 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002289/0.6313, allocations: 0.8382 MB / 0.7322 GB, free: 6.262 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002545/0.6338, allocations: 2.287 MB / 0.7344 GB, free: 3.973 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007255/0.6346, allocations: 0.4928 MB / 0.7349 GB, free: 3.469 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001253/0.6358, allocations: 0.6885 MB / 0.7355 GB, free: 2.777 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008388/0.6367, allocations: 0.5665 MB / 0.7361 GB, free: 2.211 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.274e-05/0.6368, allocations: 32 kB / 0.7361 GB, free: 2.18 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00244/0.6392, allocations: 1.142 MB / 0.7372 GB, free: 1.035 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002751/0.6395, allocations: 243.2 kB / 0.7375 GB, free: 0.7969 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002083/0.6397, allocations: 177.3 kB / 0.7376 GB, free: 0.6172 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001403/0.6412, allocations: 1.157 MB / 0.7388 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.6412, allocations: 0 / 0.7388 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.693e-06/0.6412, allocations: 0 / 0.7388 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.027e-05/0.6412, allocations: 0 / 0.7388 GB, free: 15.46 MB / 0.5606 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.001591/0.6428, allocations: 1.021 MB / 0.7398 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.6428, allocations: 12.02 kB / 0.7398 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00181/0.6446, allocations: 274.7 kB / 0.74 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008312/0.6455, allocations: 0.5524 MB / 0.7406 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.69e-05/0.6455, allocations: 41.31 kB / 0.7406 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.461e-05/0.6456, allocations: 56 kB / 0.7407 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001061/0.6467, allocations: 0.64 MB / 0.7413 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.6467, allocations: 0 / 0.7413 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.741e-05/0.6468, allocations: 24 kB / 0.7413 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.964e-05/0.6468, allocations: 17.31 kB / 0.7413 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009208/0.6478, allocations: 0.5282 MB / 0.7419 GB, free: 12.2 MB / 0.5606 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.002998/0.6508, allocations: 2.461 MB / 0.7443 GB, free: 9.516 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006665/0.6514, allocations: 371.4 kB / 0.7446 GB, free: 9.145 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003928/0.6519, allocations: 244.8 kB / 0.7448 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000589/0.6525, allocations: 319.5 kB / 0.7452 GB, free: 8.539 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.228e-05/0.6525, allocations: 42.88 kB / 0.7452 GB, free: 8.488 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=39): time 2.033e-06/0.6525, allocations: 0 / 0.7452 GB, free: 8.488 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.001359/0.6539, allocations: 0.6316 MB / 0.7458 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/0.6539, allocations: 59.39 kB / 0.7459 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005443/0.6545, allocations: 495 kB / 0.7463 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.897e-05/0.6545, allocations: 33.7 kB / 0.7464 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002347/0.6548, allocations: 324.4 kB / 0.7467 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/0.6549, allocations: 141.9 kB / 0.7468 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.485e-05/0.6549, allocations: 12 kB / 0.7468 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.6551, allocations: 362.8 kB / 0.7472 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003364/0.6555, allocations: 176.7 kB / 0.7473 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004172/0.6559, allocations: 283.4 kB / 0.7476 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003934/0.6563, allocations: 224.4 kB / 0.7478 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.6563, allocations: 0 / 0.7478 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009155/0.6572, allocations: 0.5318 MB / 0.7483 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.913e-05/0.6573, allocations: 149 kB / 0.7485 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.6573, allocations: 4 kB / 0.7485 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.574e-05/0.6574, allocations: 11.98 kB / 0.7485 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007022/0.6581, allocations: 139.8 kB / 0.7486 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003672/0.6585, allocations: 0.5977 MB / 0.7492 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000581/0.659, allocations: 87.52 kB / 0.7493 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.937e-05/0.6591, allocations: 19.92 kB / 0.7493 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.744e-06/0.6591, allocations: 4 kB / 0.7493 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007912/0.6599, allocations: 467.9 kB / 0.7498 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.6599, allocations: 0 / 0.7498 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.033e-06/0.6599, allocations: 7.984 kB / 0.7498 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005033/0.6604, allocations: 136.1 kB / 0.7499 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.6605, allocations: 4 kB / 0.7499 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000494/0.661, allocations: 75.55 kB / 0.75 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.275e-05/0.661, allocations: 16 kB / 0.75 GB, free: 3.418 MB / 0.5606 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003302/0.6613, allocations: 316.9 kB / 0.7503 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.918e-05/0.6614, allocations: 55.34 kB / 0.7504 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009028/0.6624, allocations: 494.6 kB / 0.7508 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.6624, allocations: 4 kB / 0.7508 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.6624, allocations: 0 / 0.7508 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007945/0.6632, allocations: 0.7189 MB / 0.7515 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001938/0.6651, allocations: 1.292 MB / 0.7528 GB, free: 376 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.6652, allocations: 224 / 0.7528 GB, free: 376 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006076/0.6658, allocations: 131.9 kB / 0.7529 GB, free: 244 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.915e-06/0.6658, allocations: 4 kB / 0.7529 GB, free: 240 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.465e-05/0.6658, allocations: 15.98 kB / 0.7529 GB, free: 224 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000315/0.6661, allocations: 0.5977 MB / 0.7535 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.6662, allocations: 0 / 0.7535 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/0.6673, allocations: 0.8215 MB / 0.7543 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002312/0.6676, allocations: 180.2 kB / 0.7545 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.179e-05/0.6677, allocations: 16.56 kB / 0.7545 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004601/0.6681, allocations: 47.89 kB / 0.7546 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.508e-05/0.6682, allocations: 27.95 kB / 0.7546 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-05/0.6683, allocations: 16 kB / 0.7546 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000393/0.6687, allocations: 346.8 kB / 0.7549 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6687, allocations: 0 / 0.7549 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009702/0.6696, allocations: 367 kB / 0.7553 GB, free: 13.74 MB / 0.5762 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000442/0.6701, allocations: 219.1 kB / 0.7555 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001387/0.6715, allocations: 0.6641 MB / 0.7561 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.6715, allocations: 384 / 0.7561 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000422/0.6719, allocations: 232 kB / 0.7564 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001667/0.6736, allocations: 358.9 kB / 0.7567 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002369/0.676, allocations: 1.728 MB / 0.7584 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005297/0.6765, allocations: 0.9534 MB / 0.7593 GB, free: 9.539 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007318/0.6773, allocations: 205 kB / 0.7595 GB, free: 9.34 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001413/0.6774, allocations: 63.36 kB / 0.7596 GB, free: 9.277 MB / 0.5762 GB Notification: Performance of SimCode: time 2.5e-07/0.6774, allocations: 0 / 0.7596 GB, free: 9.277 MB / 0.5762 GB Notification: Performance of Templates: time 0.0206/0.698, allocations: 11.5 MB / 0.7708 GB, free: 13.96 MB / 0.5919 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)