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.001172/0.001172, allocations: 109 kB / 16.41 MB, free: 6.027 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.00115/0.00115, allocations: 186.6 kB / 17.34 MB, free: 5.633 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.372/1.372, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.8605/0.8605, allocations: 143.1 MB / 434.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001755/0.001755, allocations: 63.16 kB / 0.5962 GB, free: 12.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2007/0.2024, allocations: 82.04 MB / 0.6763 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density): time 0.6337/0.8362, allocations: 185.1 MB / 0.8571 GB, free: 4.121 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01017/0.8464, allocations: 6.987 MB / 0.8639 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001178/0.8477, allocations: 31.81 kB / 0.864 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001193/0.8489, allocations: 401.5 kB / 0.8644 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003685/0.8526, allocations: 1.446 MB / 0.8658 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003123/0.8558, allocations: 1.166 MB / 0.8669 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002781/0.8586, allocations: 1.941 MB / 0.8688 GB, free: 8.621 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001012/0.8596, allocations: 0.657 MB / 0.8694 GB, free: 7.953 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001735/0.8613, allocations: 0.8328 MB / 0.8703 GB, free: 7.117 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001353/0.8627, allocations: 0.6042 MB / 0.8708 GB, free: 6.516 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001292/0.8628, allocations: 68 kB / 0.8709 GB, free: 6.449 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00392/0.8668, allocations: 1.925 MB / 0.8728 GB, free: 4.52 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003556/0.8671, allocations: 291.2 kB / 0.8731 GB, free: 4.234 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005304/0.8677, allocations: 438 kB / 0.8735 GB, free: 3.805 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003442/0.8711, allocations: 1.811 MB / 0.8753 GB, free: 1.988 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.8712, allocations: 0 / 0.8753 GB, free: 1.988 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.485e-06/0.8712, allocations: 0 / 0.8753 GB, free: 1.988 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.533e-05/0.8712, allocations: 0 / 0.8753 GB, free: 1.988 MB / 0.6387 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.001961/0.8732, allocations: 1.172 MB / 0.8764 GB, free: 0.7656 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.8732, allocations: 8.031 kB / 0.8764 GB, free: 0.7578 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001966/0.8752, allocations: 278.7 kB / 0.8767 GB, free: 496 kB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001063/0.8763, allocations: 0.6028 MB / 0.8773 GB, free: 15.83 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.226e-05/0.8763, allocations: 45.31 kB / 0.8773 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.548e-05/0.8764, allocations: 59.94 kB / 0.8774 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.8775, allocations: 0.6323 MB / 0.878 GB, free: 15.08 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.8776, allocations: 0 / 0.878 GB, free: 15.08 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.734e-05/0.8776, allocations: 27.94 kB / 0.878 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.869e-05/0.8777, allocations: 17.31 kB / 0.878 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009259/0.8786, allocations: 0.5282 MB / 0.8785 GB, free: 14.51 MB / 0.6544 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.003225/0.8818, allocations: 2.46 MB / 0.8809 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006504/0.8825, allocations: 355.5 kB / 0.8813 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003779/0.8829, allocations: 235.6 kB / 0.8815 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005689/0.8835, allocations: 307.6 kB / 0.8818 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.8835, allocations: 42.81 kB / 0.8818 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=39): time 2.164e-06/0.8835, allocations: 0 / 0.8818 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of matching and sorting (n=39): time 0.00139/0.8849, allocations: 0.6186 MB / 0.8824 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/0.885, allocations: 55.41 kB / 0.8825 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005973/0.8856, allocations: 0.4912 MB / 0.883 GB, free: 9.656 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.71e-05/0.8856, allocations: 37.64 kB / 0.883 GB, free: 9.613 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002581/0.8859, allocations: 328.4 kB / 0.8833 GB, free: 9.289 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001302/0.8861, allocations: 138 kB / 0.8835 GB, free: 9.152 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001458/0.8862, allocations: 90.12 kB / 0.8835 GB, free: 9.059 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.8864, allocations: 366.7 kB / 0.8839 GB, free: 8.691 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003251/0.8867, allocations: 178.5 kB / 0.8841 GB, free: 8.516 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004116/0.8871, allocations: 283.3 kB / 0.8843 GB, free: 8.195 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007056/0.8878, allocations: 456.2 kB / 0.8848 GB, free: 7.719 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.8878, allocations: 0 / 0.8848 GB, free: 7.719 MB / 0.6544 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008872/0.8887, allocations: 0.52 MB / 0.8853 GB, free: 7.191 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.8888, allocations: 4 kB / 0.8853 GB, free: 7.188 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.505e-06/0.8888, allocations: 4 kB / 0.8853 GB, free: 7.184 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.8888, allocations: 4 kB / 0.8853 GB, free: 7.18 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007298/0.8895, allocations: 136.1 kB / 0.8854 GB, free: 7.047 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003803/0.8899, allocations: 0.5976 MB / 0.886 GB, free: 6.426 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005387/0.8905, allocations: 55.53 kB / 0.886 GB, free: 6.371 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.279e-05/0.8905, allocations: 20 kB / 0.8861 GB, free: 6.352 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005448/0.8911, allocations: 348.9 kB / 0.8864 GB, free: 6.008 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003898/0.8915, allocations: 291.4 kB / 0.8867 GB, free: 5.688 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006897/0.8922, allocations: 448.4 kB / 0.8871 GB, free: 5.219 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.436e-06/0.8922, allocations: 4 kB / 0.8871 GB, free: 5.215 MB / 0.6544 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0008991/0.8931, allocations: 0.5239 MB / 0.8876 GB, free: 4.684 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/0.8931, allocations: 4.281 kB / 0.8876 GB, free: 4.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.8931, allocations: 8 kB / 0.8876 GB, free: 4.672 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.726e-06/0.8931, allocations: 7.938 kB / 0.8876 GB, free: 4.664 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000497/0.8937, allocations: 115.9 kB / 0.8878 GB, free: 4.551 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.627e-06/0.8937, allocations: 10.52 kB / 0.8878 GB, free: 4.543 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005339/0.8942, allocations: 39.66 kB / 0.8878 GB, free: 4.504 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.708e-05/0.8943, allocations: 20 kB / 0.8878 GB, free: 4.484 MB / 0.6544 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.0002081/0.8945, allocations: 209.1 kB / 0.888 GB, free: 4.273 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.8946, allocations: 59.25 kB / 0.8881 GB, free: 4.215 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009282/0.8955, allocations: 491.2 kB / 0.8885 GB, free: 3.723 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.8955, allocations: 4 kB / 0.8885 GB, free: 3.719 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.8955, allocations: 0 / 0.8885 GB, free: 3.719 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008332/0.8964, allocations: 0.7198 MB / 0.8892 GB, free: 2.914 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001963/0.8984, allocations: 1.281 MB / 0.8905 GB, free: 1.555 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.8984, allocations: 0 / 0.8905 GB, free: 1.555 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006247/0.899, allocations: 120.7 kB / 0.8906 GB, free: 1.438 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/0.899, allocations: 4 kB / 0.8906 GB, free: 1.434 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.072e-05/0.8991, allocations: 11.98 kB / 0.8906 GB, free: 1.422 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000344/0.8994, allocations: 0.5978 MB / 0.8912 GB, free: 0.8008 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.8994, allocations: 7.938 kB / 0.8912 GB, free: 0.793 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001127/0.9006, allocations: 0.7826 MB / 0.892 GB, free: 15.97 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002411/0.9008, allocations: 188.2 kB / 0.8922 GB, free: 15.77 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.747e-05/0.9009, allocations: 12.81 kB / 0.8922 GB, free: 15.76 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004204/0.9013, allocations: 23.97 kB / 0.8922 GB, free: 15.73 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.184e-05/0.9014, allocations: 35.84 kB / 0.8922 GB, free: 15.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.751e-05/0.9014, allocations: 16 kB / 0.8923 GB, free: 15.68 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0004126/0.9019, allocations: 350.8 kB / 0.8926 GB, free: 15.34 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9019, allocations: 4 kB / 0.8926 GB, free: 15.34 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009573/0.9028, allocations: 355.2 kB / 0.8929 GB, free: 14.99 MB / 0.67 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.0004802/0.9033, allocations: 214.4 kB / 0.8931 GB, free: 14.79 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001402/0.9047, allocations: 0.6596 MB / 0.8938 GB, free: 14.12 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.9048, allocations: 0 / 0.8938 GB, free: 14.12 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0004225/0.9052, allocations: 229.1 kB / 0.894 GB, free: 13.9 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00164/0.9068, allocations: 359.8 kB / 0.8943 GB, free: 13.56 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002484/0.9093, allocations: 1.423 MB / 0.8957 GB, free: 12.09 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005239/0.9099, allocations: 0.9496 MB / 0.8967 GB, free: 11.11 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001755/0.9101, allocations: 55.44 kB / 0.8967 GB, free: 11.05 MB / 0.67 GB Notification: Performance of SimCode: time 7.81e-07/0.9101, allocations: 0 / 0.8967 GB, free: 11.05 MB / 0.67 GB Notification: Performance of Templates: time 0.01781/0.9279, allocations: 13.08 MB / 0.9095 GB, free: 14.06 MB / 0.6856 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)