Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density") translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.0008095/0.0008096, allocations: 94.66 kB / 15.06 MB, free: 1.086 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.0008892/0.0008892, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.17/1.17, allocations: 223.3 MB / 240 MB, free: 5.227 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8573/0.8573, allocations: 143.2 MB / 434.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002919/0.0002919, allocations: 8 kB / 0.5158 GB, free: 11.51 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1307, allocations: 83.41 MB / 0.5972 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density): time 0.3637/0.4943, allocations: 168.4 MB / 0.7617 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008097/0.5025, allocations: 6.521 MB / 0.768 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006277/0.5031, allocations: 23.88 kB / 0.768 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007841/0.5039, allocations: 270.2 kB / 0.7683 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002412/0.5064, allocations: 1.055 MB / 0.7693 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001995/0.5084, allocations: 0.8402 MB / 0.7702 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002248/0.5106, allocations: 2.287 MB / 0.7724 GB, free: 9.199 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007049/0.5113, allocations: 0.4921 MB / 0.7729 GB, free: 8.695 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001218/0.5126, allocations: 0.6847 MB / 0.7735 GB, free: 8.008 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007956/0.5134, allocations: 0.5759 MB / 0.7741 GB, free: 7.43 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.375e-05/0.5135, allocations: 28 kB / 0.7741 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002061/0.5155, allocations: 1.138 MB / 0.7752 GB, free: 6.262 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002623/0.5158, allocations: 247.2 kB / 0.7755 GB, free: 6.02 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001914/0.516, allocations: 177.3 kB / 0.7756 GB, free: 5.84 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001234/0.5172, allocations: 1.185 MB / 0.7768 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.5173, allocations: 0 / 0.7768 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.173e-06/0.5173, allocations: 0 / 0.7768 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.058e-05/0.5173, allocations: 0 / 0.7768 GB, free: 4.652 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.001404/0.5187, allocations: 1.032 MB / 0.7778 GB, free: 3.574 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/0.5187, allocations: 12.03 kB / 0.7778 GB, free: 3.562 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001574/0.5203, allocations: 274.7 kB / 0.7781 GB, free: 3.293 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007312/0.521, allocations: 0.5563 MB / 0.7786 GB, free: 2.699 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.921e-05/0.5211, allocations: 41.81 kB / 0.7787 GB, free: 2.656 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.86e-05/0.5212, allocations: 56 kB / 0.7787 GB, free: 2.602 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009471/0.5221, allocations: 0.6401 MB / 0.7793 GB, free: 1.945 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.5222, allocations: 0 / 0.7793 GB, free: 1.945 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.739e-05/0.5222, allocations: 23.98 kB / 0.7794 GB, free: 1.922 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.547e-05/0.5222, allocations: 21.31 kB / 0.7794 GB, free: 1.902 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008391/0.5231, allocations: 0.5243 MB / 0.7799 GB, free: 1.379 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.002579/0.5257, allocations: 2.462 MB / 0.7823 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005795/0.5263, allocations: 368.5 kB / 0.7827 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003441/0.5266, allocations: 248 kB / 0.7829 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004882/0.5271, allocations: 319.6 kB / 0.7832 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.5272, allocations: 42.83 kB / 0.7832 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=39): time 1.373e-06/0.5272, allocations: 0 / 0.7832 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39): time 0.001178/0.5283, allocations: 0.6306 MB / 0.7839 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/0.5284, allocations: 59.41 kB / 0.7839 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004853/0.5289, allocations: 0.4911 MB / 0.7844 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.085e-05/0.5289, allocations: 33.7 kB / 0.7844 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001973/0.5291, allocations: 328.4 kB / 0.7847 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.5292, allocations: 138 kB / 0.7849 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.252e-05/0.5293, allocations: 12 kB / 0.7849 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.5294, allocations: 366.8 kB / 0.7852 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002983/0.5297, allocations: 168.8 kB / 0.7854 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000376/0.5301, allocations: 291.3 kB / 0.7857 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003402/0.5304, allocations: 205 kB / 0.7859 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.5305, allocations: 4 kB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008082/0.5313, allocations: 0.5326 MB / 0.7864 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.365e-05/0.5313, allocations: 152.8 kB / 0.7865 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.5314, allocations: 4.547 kB / 0.7865 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.5314, allocations: 4 kB / 0.7865 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006315/0.532, allocations: 153.3 kB / 0.7867 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003117/0.5323, allocations: 0.5898 MB / 0.7873 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004889/0.5328, allocations: 92.12 kB / 0.7873 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.735e-05/0.5329, allocations: 20 kB / 0.7874 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.172e-06/0.5329, allocations: 8 kB / 0.7874 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007432/0.5336, allocations: 464.1 kB / 0.7878 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.5337, allocations: 4 kB / 0.7878 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.089e-06/0.5337, allocations: 4 kB / 0.7878 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004593/0.5341, allocations: 124.4 kB / 0.7879 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.5341, allocations: 7.938 kB / 0.788 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004487/0.5346, allocations: 87.61 kB / 0.788 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.388e-05/0.5346, allocations: 23 kB / 0.7881 GB, free: 8.59 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 (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.0002556/0.5349, allocations: 297 kB / 0.7883 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.041e-05/0.535, allocations: 67.23 kB / 0.7884 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007936/0.5358, allocations: 490.6 kB / 0.7889 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.359e-06/0.5358, allocations: 4 kB / 0.7889 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.5358, allocations: 0 / 0.7889 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007204/0.5365, allocations: 0.716 MB / 0.7896 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001692/0.5383, allocations: 1.296 MB / 0.7908 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.696e-06/0.5383, allocations: 0 / 0.7908 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005546/0.5388, allocations: 141.4 kB / 0.791 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.5388, allocations: 4 kB / 0.791 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.901e-05/0.5389, allocations: 8 kB / 0.791 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002635/0.5391, allocations: 0.5898 MB / 0.7916 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.5392, allocations: 7.969 kB / 0.7916 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/0.5402, allocations: 0.8243 MB / 0.7924 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001909/0.5404, allocations: 180.3 kB / 0.7925 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.782e-05/0.5405, allocations: 12 kB / 0.7926 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003991/0.5409, allocations: 51.89 kB / 0.7926 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.985e-05/0.541, allocations: 27.97 kB / 0.7926 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.919e-05/0.541, allocations: 19.95 kB / 0.7927 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000339/0.5413, allocations: 346.8 kB / 0.793 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5413, allocations: 0 / 0.793 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007813/0.5421, allocations: 367.1 kB / 0.7933 GB, free: 2.926 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 (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.0003791/0.5425, allocations: 205.5 kB / 0.7935 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001214/0.5437, allocations: 0.6689 MB / 0.7942 GB, free: 2.055 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.5437, allocations: 4 kB / 0.7942 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000377/0.5441, allocations: 237 kB / 0.7944 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001487/0.5456, allocations: 353 kB / 0.7948 GB, free: 1.492 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00215/0.5478, allocations: 1.741 MB / 0.7965 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000446/0.5483, allocations: 0.9535 MB / 0.7974 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0006417/0.5489, allocations: 208.4 kB / 0.7976 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.549, allocations: 47.44 kB / 0.7976 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of SimCode: time 2.2e-07/0.549, allocations: 0 / 0.7976 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of Templates: time 0.01753/0.5666, allocations: 11.55 MB / 0.8089 GB, free: 3.137 MB / 0.6231 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density.pipe 2>&1)