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.001081/0.001081, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006814/0.006815, allocations: 170 kB / 16.27 MB, free: 6.652 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.45/1.45, allocations: 223.3 MB / 240.3 MB, free: 5.34 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 1.071/1.071, allocations: 143.2 MB / 434.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000373/0.000373, allocations: 12 kB / 0.5164 GB, free: 11.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1649, allocations: 83.42 MB / 0.5978 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density): time 0.4773/0.6422, allocations: 180.4 MB / 0.7741 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01056/0.6528, allocations: 6.976 MB / 0.7809 GB, free: 0.5859 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001336/0.6542, allocations: 23.81 kB / 0.7809 GB, free: 0.5625 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001236/0.6555, allocations: 338.2 kB / 0.7812 GB, free: 236 kB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004469/0.66, allocations: 1.362 MB / 0.7825 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003081/0.6631, allocations: 1.052 MB / 0.7836 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003151/0.6662, allocations: 2.709 MB / 0.7862 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008294/0.6671, allocations: 0.5356 MB / 0.7867 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001511/0.6686, allocations: 0.7236 MB / 0.7874 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001173/0.6698, allocations: 0.5938 MB / 0.788 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.427e-05/0.6699, allocations: 28 kB / 0.7881 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003657/0.6735, allocations: 2.198 MB / 0.7902 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002907/0.6738, allocations: 247.3 kB / 0.7904 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000458/0.6743, allocations: 407.7 kB / 0.7908 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002684/0.677, allocations: 1.854 MB / 0.7926 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.677, allocations: 0 / 0.7926 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.025e-06/0.677, allocations: 4 kB / 0.7926 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.098e-05/0.677, allocations: 0 / 0.7926 GB, free: 4.492 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.001709/0.6787, allocations: 1.028 MB / 0.7936 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.6788, allocations: 8.031 kB / 0.7936 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001869/0.6807, allocations: 274.8 kB / 0.7939 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008721/0.6816, allocations: 0.5715 MB / 0.7945 GB, free: 2.531 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.508e-05/0.6816, allocations: 41.31 kB / 0.7945 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.61e-05/0.6817, allocations: 56 kB / 0.7946 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001105/0.6828, allocations: 0.6401 MB / 0.7952 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.285e-05/0.6829, allocations: 11.92 kB / 0.7952 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.461e-05/0.6829, allocations: 20 kB / 0.7952 GB, free: 1.746 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.613e-05/0.6829, allocations: 17.31 kB / 0.7952 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009443/0.6839, allocations: 0.5321 MB / 0.7958 GB, free: 1.199 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.003063/0.687, allocations: 2.461 MB / 0.7982 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006442/0.6876, allocations: 373.5 kB / 0.7985 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003976/0.688, allocations: 244.6 kB / 0.7987 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005945/0.6887, allocations: 319.6 kB / 0.7991 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.6887, allocations: 38.89 kB / 0.7991 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=39): time 3.686e-06/0.6887, allocations: 0 / 0.7991 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39): time 0.001429/0.6901, allocations: 0.6384 MB / 0.7997 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.6902, allocations: 55.41 kB / 0.7998 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005639/0.6908, allocations: 0.4951 MB / 0.8002 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.317e-05/0.6908, allocations: 33.7 kB / 0.8003 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002333/0.691, allocations: 328.4 kB / 0.8006 GB, free: 11.92 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001185/0.6912, allocations: 134 kB / 0.8007 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.141e-05/0.6913, allocations: 45.69 kB / 0.8008 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.6914, allocations: 370.7 kB / 0.8011 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003296/0.6917, allocations: 168.8 kB / 0.8013 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004141/0.6922, allocations: 291.4 kB / 0.8016 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007323/0.6929, allocations: 464.6 kB / 0.802 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.6929, allocations: 0 / 0.802 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009286/0.6939, allocations: 0.5373 MB / 0.8025 GB, free: 9.852 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001109/0.694, allocations: 153 kB / 0.8027 GB, free: 9.668 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.694, allocations: 4 kB / 0.8027 GB, free: 9.664 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.694, allocations: 11.88 kB / 0.8027 GB, free: 9.652 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007277/0.6948, allocations: 144.4 kB / 0.8028 GB, free: 9.512 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004014/0.6952, allocations: 0.6021 MB / 0.8034 GB, free: 8.887 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006453/0.6958, allocations: 87.58 kB / 0.8035 GB, free: 8.801 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.971e-05/0.6959, allocations: 16 kB / 0.8035 GB, free: 8.785 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 7.544e-06/0.6959, allocations: 4 kB / 0.8035 GB, free: 8.781 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000789/0.6967, allocations: 467.8 kB / 0.804 GB, free: 8.324 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.6967, allocations: 4 kB / 0.804 GB, free: 8.32 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.344e-06/0.6967, allocations: 4 kB / 0.804 GB, free: 8.316 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004959/0.6972, allocations: 136 kB / 0.8041 GB, free: 8.184 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.096e-06/0.6972, allocations: 11.92 kB / 0.8041 GB, free: 8.172 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005745/0.6978, allocations: 72.19 kB / 0.8042 GB, free: 8.102 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.474e-05/0.6978, allocations: 20 kB / 0.8042 GB, free: 8.082 MB / 0.6231 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.0003672/0.6982, allocations: 308.9 kB / 0.8045 GB, free: 7.77 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.781e-05/0.6983, allocations: 64 kB / 0.8046 GB, free: 7.707 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009265/0.6993, allocations: 494.6 kB / 0.805 GB, free: 7.215 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/0.6993, allocations: 8.812 kB / 0.805 GB, free: 7.207 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.6993, allocations: 0 / 0.805 GB, free: 7.207 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008375/0.7001, allocations: 0.7198 MB / 0.8057 GB, free: 6.402 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002031/0.7022, allocations: 1.288 MB / 0.807 GB, free: 5.035 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.7022, allocations: 224 / 0.807 GB, free: 5.035 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006356/0.7028, allocations: 140.7 kB / 0.8071 GB, free: 4.898 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.067e-06/0.7029, allocations: 9.5 kB / 0.8071 GB, free: 4.891 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.364e-05/0.7029, allocations: 8 kB / 0.8071 GB, free: 4.883 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003486/0.7033, allocations: 0.5977 MB / 0.8077 GB, free: 4.262 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.7033, allocations: 4.031 kB / 0.8077 GB, free: 4.258 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0012/0.7045, allocations: 0.8056 MB / 0.8085 GB, free: 3.414 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002294/0.7047, allocations: 188.3 kB / 0.8087 GB, free: 3.211 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.231e-05/0.7048, allocations: 8 kB / 0.8087 GB, free: 3.203 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000504/0.7053, allocations: 51.83 kB / 0.8088 GB, free: 3.152 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.013e-05/0.7054, allocations: 31.91 kB / 0.8088 GB, free: 3.121 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.972e-05/0.7054, allocations: 15.98 kB / 0.8088 GB, free: 3.105 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003901/0.7058, allocations: 354.8 kB / 0.8091 GB, free: 2.762 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7058, allocations: 0 / 0.8091 GB, free: 2.762 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001065/0.7069, allocations: 367.1 kB / 0.8095 GB, free: 2.402 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.000538/0.7075, allocations: 199.4 kB / 0.8097 GB, free: 2.207 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001455/0.7089, allocations: 0.689 MB / 0.8104 GB, free: 1.52 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.7089, allocations: 7.938 kB / 0.8104 GB, free: 1.512 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004253/0.7094, allocations: 220 kB / 0.8106 GB, free: 1.297 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001935/0.7113, allocations: 365 kB / 0.8109 GB, free: 0.957 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002436/0.7138, allocations: 1.75 MB / 0.8126 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005391/0.7143, allocations: 0.9457 MB / 0.8136 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.000725/0.7151, allocations: 210.2 kB / 0.8138 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001363/0.7152, allocations: 51.44 kB / 0.8138 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of SimCode: time 4.91e-07/0.7152, allocations: 0 / 0.8138 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of Templates: time 0.02172/0.7369, allocations: 11.9 MB / 0.8254 GB, free: 2.219 MB / 0.6387 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)