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.001405/0.001405, allocations: 99.78 kB / 16.4 MB, free: 6.484 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.001559/0.001559, allocations: 188 kB / 17.34 MB, free: 5.734 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.362/1.362, 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.7834/0.7834, allocations: 122.9 MB / 414.1 MB, free: 15.78 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 63.42 kB / 0.5685 GB, free: 28.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1588, allocations: 77.94 MB / 0.6446 GB, free: 8.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Density): time 0.6938/0.8527, allocations: 185 MB / 0.8253 GB, free: 8.906 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01301/0.8657, allocations: 6.981 MB / 0.8321 GB, free: 4.523 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001442/0.8672, allocations: 33.97 kB / 0.8321 GB, free: 4.508 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001276/0.8685, allocations: 406.1 kB / 0.8325 GB, free: 4.172 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004076/0.8726, allocations: 1.438 MB / 0.8339 GB, free: 3.066 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003081/0.8757, allocations: 1.171 MB / 0.8351 GB, free: 2.195 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002481/0.8782, allocations: 1.949 MB / 0.837 GB, free: 1.074 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008982/0.8791, allocations: 0.655 MB / 0.8376 GB, free: 0.668 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001573/0.8807, allocations: 0.823 MB / 0.8384 GB, free: 184 kB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00125/0.882, allocations: 0.5979 MB / 0.839 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001181/0.8821, allocations: 68.59 kB / 0.8391 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003715/0.8858, allocations: 1.93 MB / 0.841 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004342/0.8863, allocations: 292.5 kB / 0.8412 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005599/0.8869, allocations: 426.6 kB / 0.8416 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00346/0.8903, allocations: 1.774 MB / 0.8434 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.8904, allocations: 2.5 kB / 0.8434 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.274e-06/0.8904, allocations: 0 / 0.8434 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.947e-05/0.8904, allocations: 4 kB / 0.8434 GB, free: 13.18 MB / 0.6075 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.002012/0.8924, allocations: 1.195 MB / 0.8446 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.8925, allocations: 10.44 kB / 0.8446 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001888/0.8944, allocations: 277.3 kB / 0.8448 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001149/0.8955, allocations: 0.6121 MB / 0.8454 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.038e-05/0.8956, allocations: 39.72 kB / 0.8455 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/0.8957, allocations: 55.2 kB / 0.8455 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001153/0.8968, allocations: 0.6405 MB / 0.8461 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.19e-05/0.8969, allocations: 0 / 0.8461 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.816e-05/0.8969, allocations: 25.03 kB / 0.8462 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.333e-05/0.897, allocations: 19.19 kB / 0.8462 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009726/0.898, allocations: 0.5258 MB / 0.8467 GB, free: 10.89 MB / 0.6075 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.003058/0.901, allocations: 2.468 MB / 0.8491 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006774/0.9017, allocations: 351.6 kB / 0.8494 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003766/0.9021, allocations: 236.9 kB / 0.8497 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005887/0.9027, allocations: 311.8 kB / 0.85 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.617e-05/0.9028, allocations: 37.61 kB / 0.85 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=39): time 1.994e-06/0.9028, allocations: 0 / 0.85 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39): time 0.001388/0.9042, allocations: 0.6201 MB / 0.8506 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.07e-05/0.9042, allocations: 54.34 kB / 0.8507 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006322/0.9049, allocations: 0.498 MB / 0.8511 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.671e-05/0.9049, allocations: 36.67 kB / 0.8512 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002642/0.9052, allocations: 326.4 kB / 0.8515 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001327/0.9053, allocations: 152.5 kB / 0.8516 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001513/0.9055, allocations: 88.05 kB / 0.8517 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.9056, allocations: 370.8 kB / 0.8521 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003172/0.906, allocations: 180.1 kB / 0.8522 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004135/0.9064, allocations: 285.9 kB / 0.8525 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007433/0.9071, allocations: 447.2 kB / 0.8529 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.9072, allocations: 0 / 0.8529 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009024/0.9081, allocations: 0.5359 MB / 0.8535 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.9081, allocations: 4 kB / 0.8535 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.9081, allocations: 4 kB / 0.8535 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.9081, allocations: 4 kB / 0.8535 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007001/0.9088, allocations: 132.1 kB / 0.8536 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004258/0.9093, allocations: 0.5992 MB / 0.8542 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005445/0.9098, allocations: 51.66 kB / 0.8542 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.914e-05/0.9099, allocations: 20 kB / 0.8543 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005647/0.9105, allocations: 356.9 kB / 0.8546 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004421/0.9109, allocations: 275.4 kB / 0.8549 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006987/0.9116, allocations: 452.3 kB / 0.8553 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.387e-06/0.9116, allocations: 4 kB / 0.8553 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0008703/0.9125, allocations: 0.5248 MB / 0.8558 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.9125, allocations: 4 kB / 0.8558 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.9126, allocations: 4 kB / 0.8558 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.304e-06/0.9126, allocations: 7.938 kB / 0.8558 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004756/0.9131, allocations: 115.9 kB / 0.8559 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.9131, allocations: 7.938 kB / 0.8559 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005142/0.9136, allocations: 39.81 kB / 0.856 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.571e-05/0.9136, allocations: 24.03 kB / 0.856 GB, free: 2.602 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.000203/0.9138, allocations: 205 kB / 0.8562 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.914, allocations: 59.62 kB / 0.8563 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009518/0.9149, allocations: 496.7 kB / 0.8567 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.9149, allocations: 7.984 kB / 0.8567 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.9149, allocations: 0 / 0.8567 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008996/0.9159, allocations: 0.7069 MB / 0.8574 GB, free: 1.047 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002142/0.918, allocations: 1.289 MB / 0.8587 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.918, allocations: 0 / 0.8587 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006154/0.9186, allocations: 124.9 kB / 0.8588 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.063e-05/0.9187, allocations: 4 kB / 0.8588 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.688e-05/0.9187, allocations: 12.11 kB / 0.8588 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003503/0.9191, allocations: 0.6056 MB / 0.8594 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.9191, allocations: 4 kB / 0.8594 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00119/0.9203, allocations: 0.7904 MB / 0.8602 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002471/0.9205, allocations: 180.6 kB / 0.8604 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.105e-05/0.9206, allocations: 19.88 kB / 0.8604 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004011/0.921, allocations: 23.97 kB / 0.8604 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.496e-05/0.9211, allocations: 23.97 kB / 0.8604 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.264e-05/0.9212, allocations: 16 kB / 0.8604 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004234/0.9216, allocations: 354.8 kB / 0.8608 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.565e-06/0.9216, allocations: 0 / 0.8608 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001039/0.9226, allocations: 367.2 kB / 0.8611 GB, free: 13.1 MB / 0.6231 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.0005514/0.9232, allocations: 199.5 kB / 0.8613 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001533/0.9247, allocations: 0.6694 MB / 0.862 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.9248, allocations: 0 / 0.862 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004439/0.9252, allocations: 227.7 kB / 0.8622 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001675/0.9269, allocations: 368.5 kB / 0.8625 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002583/0.9295, allocations: 1.399 MB / 0.8639 GB, free: 10.22 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006671/0.9302, allocations: 0.9535 MB / 0.8648 GB, free: 9.234 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0006243/0.9308, allocations: 200.9 kB / 0.865 GB, free: 9.035 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001348/0.931, allocations: 47.44 kB / 0.8651 GB, free: 8.988 MB / 0.6231 GB Notification: Performance of SimCode: time 9.02e-07/0.931, allocations: 0 / 0.8651 GB, free: 8.988 MB / 0.6231 GB Notification: Performance of Templates: time 0.02183/0.9528, allocations: 12.49 MB / 0.8773 GB, free: 12.67 MB / 0.6387 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)