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.007153/0.007153, allocations: 101 kB / 15.87 MB, free: 5.867 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.001551/0.001551, allocations: 191.8 kB / 16.79 MB, free: 5.809 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.337/1.337, allocations: 222.9 MB / 240.5 MB, free: 4.449 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.9688/0.9688, allocations: 143 MB / 433.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 59.91 kB / 0.5141 GB, free: 12.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1519, allocations: 82.03 MB / 0.5943 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density): time 0.4459/0.5978, allocations: 182.9 MB / 0.7728 GB, free: 6.879 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009908/0.6078, allocations: 7.057 MB / 0.7797 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001068/0.6089, allocations: 27.81 kB / 0.7798 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001167/0.6101, allocations: 342.2 kB / 0.7801 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003645/0.6138, allocations: 1.358 MB / 0.7814 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002939/0.6167, allocations: 1.055 MB / 0.7824 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003374/0.6201, allocations: 2.709 MB / 0.7851 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009101/0.6211, allocations: 0.5527 MB / 0.7856 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001557/0.6226, allocations: 0.7275 MB / 0.7863 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001397/0.624, allocations: 0.6168 MB / 0.7869 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000122/0.6242, allocations: 40 kB / 0.787 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003832/0.628, allocations: 2.198 MB / 0.7891 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003609/0.6284, allocations: 263.2 kB / 0.7894 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005262/0.6289, allocations: 398 kB / 0.7898 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002063/0.631, allocations: 1.318 MB / 0.791 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.631, allocations: 0 / 0.791 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.383e-06/0.631, allocations: 0 / 0.791 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.409e-05/0.6311, allocations: 0 / 0.791 GB, free: 4.188 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.001857/0.6329, allocations: 1.173 MB / 0.7922 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.633, allocations: 8.031 kB / 0.7922 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001947/0.6349, allocations: 278.7 kB / 0.7925 GB, free: 2.688 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009369/0.6359, allocations: 0.5753 MB / 0.793 GB, free: 2.074 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.021e-05/0.6359, allocations: 41.31 kB / 0.7931 GB, free: 2.031 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.707e-05/0.636, allocations: 56 kB / 0.7931 GB, free: 1.977 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/0.6371, allocations: 0.644 MB / 0.7937 GB, free: 1.316 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.6371, allocations: 0 / 0.7937 GB, free: 1.316 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.269e-05/0.6372, allocations: 23.94 kB / 0.7938 GB, free: 1.293 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.749e-05/0.6372, allocations: 21.31 kB / 0.7938 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008903/0.6381, allocations: 0.5126 MB / 0.7943 GB, free: 0.7617 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.003004/0.6411, allocations: 2.461 MB / 0.7967 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006279/0.6418, allocations: 364.8 kB / 0.797 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003624/0.6421, allocations: 235.4 kB / 0.7973 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005562/0.6427, allocations: 303.6 kB / 0.7975 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.6428, allocations: 42.89 kB / 0.7976 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=39): time 1.944e-06/0.6428, allocations: 0 / 0.7976 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39): time 0.001422/0.6442, allocations: 0.6111 MB / 0.7982 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.6442, allocations: 59.41 kB / 0.7982 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005582/0.6448, allocations: 0.4951 MB / 0.7987 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.654e-05/0.6449, allocations: 37.64 kB / 0.7988 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002288/0.6451, allocations: 332.4 kB / 0.7991 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/0.6452, allocations: 134 kB / 0.7992 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001459/0.6454, allocations: 90.03 kB / 0.7993 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.6455, allocations: 370.7 kB / 0.7996 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003281/0.6459, allocations: 182.4 kB / 0.7998 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003931/0.6463, allocations: 275.4 kB / 0.8001 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007162/0.647, allocations: 456.6 kB / 0.8005 GB, free: 9.965 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.647, allocations: 0 / 0.8005 GB, free: 9.965 MB / 0.6231 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008957/0.6479, allocations: 0.5201 MB / 0.801 GB, free: 9.438 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.6479, allocations: 12.28 kB / 0.801 GB, free: 9.426 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.648, allocations: 0 / 0.801 GB, free: 9.426 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.648, allocations: 4 kB / 0.801 GB, free: 9.422 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007352/0.6487, allocations: 131.8 kB / 0.8012 GB, free: 9.293 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003762/0.6491, allocations: 0.5938 MB / 0.8017 GB, free: 8.676 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006637/0.6498, allocations: 91.5 kB / 0.8018 GB, free: 8.586 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.988e-05/0.6498, allocations: 23.94 kB / 0.8019 GB, free: 8.562 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005404/0.6504, allocations: 348.9 kB / 0.8022 GB, free: 8.215 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003843/0.6508, allocations: 279.4 kB / 0.8025 GB, free: 7.906 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006891/0.6515, allocations: 452.6 kB / 0.8029 GB, free: 7.434 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.285e-06/0.6515, allocations: 0 / 0.8029 GB, free: 7.434 MB / 0.6231 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0008945/0.6524, allocations: 0.5316 MB / 0.8034 GB, free: 6.895 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.6524, allocations: 4 kB / 0.8034 GB, free: 6.891 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.6524, allocations: 4 kB / 0.8034 GB, free: 6.887 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.925e-06/0.6524, allocations: 7.938 kB / 0.8034 GB, free: 6.879 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004869/0.6529, allocations: 115.9 kB / 0.8035 GB, free: 6.766 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.6529, allocations: 4.281 kB / 0.8035 GB, free: 6.762 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005997/0.6536, allocations: 75.62 kB / 0.8036 GB, free: 6.688 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.52e-05/0.6536, allocations: 16 kB / 0.8036 GB, free: 6.672 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.0001732/0.6538, allocations: 208.1 kB / 0.8038 GB, free: 6.461 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.833e-05/0.6539, allocations: 59.34 kB / 0.8039 GB, free: 6.402 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008697/0.6548, allocations: 482.6 kB / 0.8043 GB, free: 5.922 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.331e-06/0.6548, allocations: 8 kB / 0.8043 GB, free: 5.914 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.6548, allocations: 0 / 0.8043 GB, free: 5.914 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000803/0.6556, allocations: 0.712 MB / 0.805 GB, free: 5.117 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001966/0.6576, allocations: 1.292 MB / 0.8063 GB, free: 3.746 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.6576, allocations: 4 kB / 0.8063 GB, free: 3.742 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000618/0.6582, allocations: 121.5 kB / 0.8064 GB, free: 3.625 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.315e-06/0.6582, allocations: 4.219 kB / 0.8064 GB, free: 3.621 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.527e-05/0.6583, allocations: 15.98 kB / 0.8064 GB, free: 3.605 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003093/0.6586, allocations: 0.5944 MB / 0.807 GB, free: 2.988 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.6586, allocations: 0 / 0.807 GB, free: 2.988 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001203/0.6598, allocations: 0.79 MB / 0.8078 GB, free: 2.16 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002725/0.6601, allocations: 176.4 kB / 0.808 GB, free: 1.969 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.937e-05/0.6602, allocations: 19.88 kB / 0.808 GB, free: 1.949 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004914/0.6607, allocations: 47.86 kB / 0.808 GB, free: 1.902 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.869e-05/0.6608, allocations: 39.89 kB / 0.8081 GB, free: 1.863 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.991e-05/0.6608, allocations: 8 kB / 0.8081 GB, free: 1.855 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003877/0.6612, allocations: 354.8 kB / 0.8084 GB, free: 1.512 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6612, allocations: 0 / 0.8084 GB, free: 1.512 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009556/0.6622, allocations: 359.1 kB / 0.8088 GB, free: 1.16 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.0004781/0.6627, allocations: 210.7 kB / 0.809 GB, free: 0.957 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001458/0.6641, allocations: 0.6675 MB / 0.8096 GB, free: 296 kB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.6642, allocations: 0 / 0.8096 GB, free: 296 kB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004076/0.6646, allocations: 229.2 kB / 0.8098 GB, free: 68 kB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001744/0.6663, allocations: 370 kB / 0.8102 GB, free: 15.72 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00241/0.6688, allocations: 1.685 MB / 0.8118 GB, free: 13.99 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004776/0.6693, allocations: 0.9496 MB / 0.8128 GB, free: 13.01 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001936/0.6695, allocations: 55.42 kB / 0.8128 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of SimCode: time 6.11e-07/0.6695, allocations: 0 / 0.8128 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of Templates: time 0.01769/0.6872, allocations: 13.05 MB / 0.8255 GB, free: 28 kB / 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)