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/Complex 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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(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/Complex 4.0.0+maint.om/package.mo): time 0.001743/0.001743, allocations: 189.1 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6253/0.6253, allocations: 87.5 MB / 104.9 MB, free: 13.02 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 222.9 MB / 349.1 MB, free: 2.773 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 106.2 kB / 420 MB, free: 8.492 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001044/0.001044, allocations: 55.92 kB / 0.4891 GB, free: 7.691 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3518/0.3529, allocations: 70.06 MB / 0.5575 GB, free: 44.58 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Density): time 0.5409/0.8938, allocations: 182.8 MB / 0.736 GB, free: 1.414 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.01008/0.904, allocations: 7.049 MB / 0.7429 GB, free: 1.258 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001325/0.9053, allocations: 25.22 kB / 0.7429 GB, free: 1.258 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001194/0.9065, allocations: 341.4 kB / 0.7432 GB, free: 1.25 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.004406/0.911, allocations: 1.361 MB / 0.7446 GB, free: 1.18 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.003592/0.9146, allocations: 1.045 MB / 0.7456 GB, free: 1.145 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.003501/0.9181, allocations: 2.731 MB / 0.7482 GB, free: 1.137 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001052/0.9192, allocations: 0.5515 MB / 0.7488 GB, free: 1.047 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001915/0.9211, allocations: 0.7302 MB / 0.7495 GB, free: 1.039 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001707/0.9229, allocations: 0.6281 MB / 0.7501 GB, free: 1.031 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001084/0.923, allocations: 37.34 kB / 0.7502 GB, free: 1.031 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004733/0.9277, allocations: 2.196 MB / 0.7523 GB, free: 1.012 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.000422/0.9282, allocations: 263.4 kB / 0.7525 GB, free: 1.008 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0006729/0.9288, allocations: 401.2 kB / 0.7529 GB, free: 1.004 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.003559/0.9324, allocations: 1.836 MB / 0.7547 GB, free: 0.8477 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 9.447e-06/0.9324, allocations: 3.75 kB / 0.7547 GB, free: 0.8477 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.383e-06/0.9324, allocations: 2.906 kB / 0.7547 GB, free: 0.8477 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.502e-05/0.9325, allocations: 0 / 0.7547 GB, free: 0.8477 MB / 0.5105 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.002022/0.9345, allocations: 1.162 MB / 0.7559 GB, free: 16.16 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.9345, allocations: 13.55 kB / 0.7559 GB, free: 16.16 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001712/0.9363, allocations: 266.1 kB / 0.7561 GB, free: 16.11 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009622/0.9372, allocations: 0.5949 MB / 0.7567 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.418e-05/0.9373, allocations: 40.06 kB / 0.7567 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.527e-05/0.9374, allocations: 54.84 kB / 0.7568 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.9384, allocations: 0.6306 MB / 0.7574 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/0.9384, allocations: 3.375 kB / 0.7574 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.107e-05/0.9385, allocations: 20.56 kB / 0.7574 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.827e-05/0.9385, allocations: 22.94 kB / 0.7575 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009276/0.9395, allocations: 0.5212 MB / 0.758 GB, free: 15.73 MB / 0.5261 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.003469/0.9429, allocations: 2.449 MB / 0.7604 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006304/0.9436, allocations: 357 kB / 0.7607 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004046/0.944, allocations: 245.8 kB / 0.7609 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005582/0.9446, allocations: 304.5 kB / 0.7612 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.9446, allocations: 38.11 kB / 0.7613 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=39): time 2.384e-06/0.9446, allocations: 3.938 kB / 0.7613 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39): time 0.001336/0.946, allocations: 0.6209 MB / 0.7619 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/0.946, allocations: 53.59 kB / 0.7619 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005177/0.9466, allocations: 0.4994 MB / 0.7624 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.169e-05/0.9466, allocations: 34.95 kB / 0.7624 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002008/0.9468, allocations: 330.1 kB / 0.7628 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001131/0.9469, allocations: 134.1 kB / 0.7629 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001413/0.9471, allocations: 88.72 kB / 0.763 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.9472, allocations: 369.4 kB / 0.7633 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003026/0.9475, allocations: 172.9 kB / 0.7635 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003877/0.9479, allocations: 296.7 kB / 0.7638 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006512/0.9486, allocations: 450.6 kB / 0.7642 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.9486, allocations: 6.406 kB / 0.7642 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.000857/0.9495, allocations: 0.5261 MB / 0.7647 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.9495, allocations: 6.906 kB / 0.7647 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.9495, allocations: 1.812 kB / 0.7647 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/0.9495, allocations: 3.5 kB / 0.7647 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007125/0.9503, allocations: 133 kB / 0.7649 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003577/0.9506, allocations: 0.5944 MB / 0.7654 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007195/0.9514, allocations: 84.72 kB / 0.7655 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.614e-05/0.9514, allocations: 21.12 kB / 0.7655 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005549/0.952, allocations: 356.7 kB / 0.7659 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003818/0.9524, allocations: 288.9 kB / 0.7662 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000652/0.953, allocations: 443.9 kB / 0.7666 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.496e-06/0.9531, allocations: 2.094 kB / 0.7666 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0009219/0.954, allocations: 0.5287 MB / 0.7671 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.954, allocations: 6.5 kB / 0.7671 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.954, allocations: 2.5 kB / 0.7671 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.265e-06/0.954, allocations: 5.156 kB / 0.7671 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000482/0.9545, allocations: 114.1 kB / 0.7672 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.9545, allocations: 4.25 kB / 0.7672 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006535/0.9552, allocations: 74.42 kB / 0.7673 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.846e-05/0.9553, allocations: 18.31 kB / 0.7673 GB, free: 11.86 MB / 0.5261 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.0001845/0.9554, allocations: 212.8 kB / 0.7675 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.9556, allocations: 60.41 kB / 0.7676 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009245/0.9565, allocations: 490.6 kB / 0.768 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.9565, allocations: 4.781 kB / 0.768 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.9565, allocations: 0 / 0.768 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007701/0.9573, allocations: 0.7161 MB / 0.7687 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002224/0.9595, allocations: 1.284 MB / 0.77 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.9596, allocations: 7.156 kB / 0.77 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006358/0.9602, allocations: 122.8 kB / 0.7701 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.736e-05/0.9602, allocations: 2.781 kB / 0.7701 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.966e-05/0.9603, allocations: 15.45 kB / 0.7701 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003492/0.9606, allocations: 0.5966 MB / 0.7707 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.9607, allocations: 0 / 0.7707 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009725/0.9704, allocations: 4.429 MB / 0.775 GB, free: 8.766 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003614/0.9708, allocations: 186.4 kB / 0.7752 GB, free: 8.625 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.387e-05/0.9709, allocations: 10.59 kB / 0.7752 GB, free: 8.625 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005267/0.9714, allocations: 43.45 kB / 0.7753 GB, free: 8.609 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.768e-05/0.9715, allocations: 32.97 kB / 0.7753 GB, free: 8.598 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-05/0.9716, allocations: 16.14 kB / 0.7753 GB, free: 8.594 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004437/0.972, allocations: 355.3 kB / 0.7757 GB, free: 8.461 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.41e-07/0.972, allocations: 0 / 0.7757 GB, free: 8.461 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002215/0.9743, allocations: 0.5663 MB / 0.7762 GB, free: 8.402 MB / 0.5261 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.0005736/0.9749, allocations: 221 kB / 0.7764 GB, free: 8.266 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001575/0.9764, allocations: 0.6629 MB / 0.7771 GB, free: 8.168 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.9765, allocations: 9.812 kB / 0.7771 GB, free: 8.16 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005165/0.977, allocations: 224.8 kB / 0.7773 GB, free: 8.129 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002162/0.9792, allocations: 359.5 kB / 0.7776 GB, free: 8.012 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003184/0.9824, allocations: 1.921 MB / 0.7795 GB, free: 6.727 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006272/0.983, allocations: 0.9515 MB / 0.7804 GB, free: 5.91 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001039/0.9841, allocations: 217.8 kB / 0.7807 GB, free: 5.812 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000239/0.9843, allocations: 53.7 kB / 0.7807 GB, free: 5.801 MB / 0.5261 GB Notification: Performance of SimCode: time 1.112e-06/0.9843, allocations: 0 / 0.7807 GB, free: 5.801 MB / 0.5261 GB Notification: Performance of Templates: time 0.02428/1.009, allocations: 13.55 MB / 0.7939 GB, free: 9.57 MB / 0.5417 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)