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.001217/0.001217, allocations: 106.6 kB / 16.41 MB, free: 6.488 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.001233/0.001234, allocations: 191 kB / 17.34 MB, free: 5.762 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.226/1.226, allocations: 222.9 MB / 241 MB, free: 15.17 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.7932/0.7932, allocations: 143 MB / 434.3 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 64.14 kB / 0.5962 GB, free: 12.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1347, allocations: 82.03 MB / 0.6763 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density): time 0.4799/0.6146, allocations: 185.1 MB / 0.8571 GB, free: 4.156 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.008943/0.6236, allocations: 6.989 MB / 0.8639 GB, free: 13.67 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009162/0.6245, allocations: 31.81 kB / 0.864 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001125/0.6257, allocations: 397.5 kB / 0.8643 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003545/0.6293, allocations: 1.443 MB / 0.8658 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002644/0.6319, allocations: 1.177 MB / 0.8669 GB, free: 10.62 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00234/0.6343, allocations: 1.941 MB / 0.8688 GB, free: 8.68 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009549/0.6352, allocations: 0.6454 MB / 0.8694 GB, free: 8.023 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001602/0.6369, allocations: 0.8367 MB / 0.8702 GB, free: 7.184 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001294/0.6382, allocations: 0.6007 MB / 0.8708 GB, free: 6.586 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001685/0.6383, allocations: 72 kB / 0.8709 GB, free: 6.516 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003461/0.6418, allocations: 1.929 MB / 0.8728 GB, free: 4.582 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000378/0.6422, allocations: 291.2 kB / 0.8731 GB, free: 4.297 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006736/0.6429, allocations: 430 kB / 0.8735 GB, free: 3.875 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003203/0.6461, allocations: 1.819 MB / 0.8753 GB, free: 2.051 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.6461, allocations: 0 / 0.8753 GB, free: 2.051 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.403e-06/0.6461, allocations: 0 / 0.8753 GB, free: 2.051 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.694e-05/0.6462, allocations: 0 / 0.8753 GB, free: 2.051 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.001975/0.6481, allocations: 1.164 MB / 0.8764 GB, free: 0.8359 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.6482, allocations: 11.97 kB / 0.8764 GB, free: 0.8242 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001854/0.65, allocations: 278.7 kB / 0.8767 GB, free: 0.5508 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001035/0.6511, allocations: 0.6105 MB / 0.8773 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.221e-05/0.6511, allocations: 41.31 kB / 0.8773 GB, free: 15.85 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.212e-05/0.6512, allocations: 60 kB / 0.8774 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/0.6523, allocations: 0.6323 MB / 0.878 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.6523, allocations: 0 / 0.878 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.889e-05/0.6524, allocations: 27.94 kB / 0.878 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.444e-05/0.6524, allocations: 17.31 kB / 0.878 GB, free: 15.1 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008986/0.6533, allocations: 0.5204 MB / 0.8785 GB, free: 14.58 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.002919/0.6562, allocations: 2.45 MB / 0.8809 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006073/0.6568, allocations: 363.5 kB / 0.8813 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003481/0.6572, allocations: 234 kB / 0.8815 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005203/0.6577, allocations: 311.5 kB / 0.8818 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.6578, allocations: 38.89 kB / 0.8818 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=39): time 1.844e-06/0.6578, allocations: 0 / 0.8818 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of matching and sorting (n=39): time 0.001274/0.6591, allocations: 0.6225 MB / 0.8824 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.6591, allocations: 59.41 kB / 0.8825 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005227/0.6596, allocations: 499 kB / 0.883 GB, free: 9.723 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.23e-05/0.6597, allocations: 37.64 kB / 0.883 GB, free: 9.68 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000209/0.6599, allocations: 332.3 kB / 0.8833 GB, free: 9.352 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/0.66, allocations: 134 kB / 0.8834 GB, free: 9.219 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001399/0.6602, allocations: 90.12 kB / 0.8835 GB, free: 9.125 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.6603, allocations: 374.7 kB / 0.8839 GB, free: 8.75 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003105/0.6606, allocations: 174.5 kB / 0.8841 GB, free: 8.578 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003763/0.661, allocations: 283.3 kB / 0.8843 GB, free: 8.258 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006561/0.6617, allocations: 456.2 kB / 0.8848 GB, free: 7.781 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.6617, allocations: 0 / 0.8848 GB, free: 7.781 MB / 0.6544 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008441/0.6626, allocations: 0.52 MB / 0.8853 GB, free: 7.254 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.6626, allocations: 4 kB / 0.8853 GB, free: 7.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.6626, allocations: 7.625 kB / 0.8853 GB, free: 7.246 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.6626, allocations: 4 kB / 0.8853 GB, free: 7.242 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006594/0.6633, allocations: 137.6 kB / 0.8854 GB, free: 7.109 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003252/0.6636, allocations: 0.5938 MB / 0.886 GB, free: 6.492 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005194/0.6641, allocations: 51.52 kB / 0.886 GB, free: 6.441 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.966e-05/0.6642, allocations: 23.94 kB / 0.8861 GB, free: 6.418 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004779/0.6647, allocations: 353.7 kB / 0.8864 GB, free: 6.07 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003589/0.665, allocations: 279.5 kB / 0.8867 GB, free: 5.762 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006301/0.6657, allocations: 452.4 kB / 0.8871 GB, free: 5.289 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.793e-06/0.6657, allocations: 0 / 0.8871 GB, free: 5.289 MB / 0.6544 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0008405/0.6665, allocations: 0.5278 MB / 0.8876 GB, free: 4.754 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.6666, allocations: 7.984 kB / 0.8876 GB, free: 4.746 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.6666, allocations: 4.281 kB / 0.8876 GB, free: 4.742 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.783e-06/0.6666, allocations: 11.94 kB / 0.8876 GB, free: 4.73 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00047/0.6671, allocations: 115.9 kB / 0.8878 GB, free: 4.617 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.6671, allocations: 4 kB / 0.8878 GB, free: 4.613 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004824/0.6676, allocations: 39.67 kB / 0.8878 GB, free: 4.574 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.343e-05/0.6676, allocations: 20 kB / 0.8878 GB, free: 4.555 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.0001487/0.6678, allocations: 209 kB / 0.888 GB, free: 4.344 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.6679, allocations: 63.23 kB / 0.8881 GB, free: 4.281 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008599/0.6687, allocations: 490.4 kB / 0.8885 GB, free: 3.789 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.6687, allocations: 7.938 kB / 0.8885 GB, free: 3.781 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.6688, allocations: 0 / 0.8885 GB, free: 3.781 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007201/0.6695, allocations: 0.7043 MB / 0.8892 GB, free: 2.992 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001884/0.6714, allocations: 1.292 MB / 0.8905 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.6714, allocations: 0 / 0.8905 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006097/0.672, allocations: 129 kB / 0.8906 GB, free: 1.496 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.887e-06/0.672, allocations: 4 kB / 0.8906 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.218e-05/0.6721, allocations: 11.94 kB / 0.8906 GB, free: 1.484 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002854/0.6724, allocations: 0.5977 MB / 0.8912 GB, free: 0.8633 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.6724, allocations: 4 kB / 0.8912 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/0.6735, allocations: 0.7942 MB / 0.892 GB, free: 28 kB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002995/0.6738, allocations: 184.3 kB / 0.8922 GB, free: 15.83 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.162e-05/0.6739, allocations: 15.94 kB / 0.8922 GB, free: 15.81 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004113/0.6743, allocations: 15.98 kB / 0.8922 GB, free: 15.8 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.117e-05/0.6744, allocations: 31.91 kB / 0.8922 GB, free: 15.77 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.181e-05/0.6744, allocations: 19.98 kB / 0.8923 GB, free: 15.75 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0003838/0.6748, allocations: 346.8 kB / 0.8926 GB, free: 15.41 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6748, allocations: 0 / 0.8926 GB, free: 15.41 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009307/0.6758, allocations: 363.2 kB / 0.8929 GB, free: 15.05 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.000551/0.6763, allocations: 209.2 kB / 0.8931 GB, free: 14.85 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001658/0.678, allocations: 0.6733 MB / 0.8938 GB, free: 14.18 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.678, allocations: 0 / 0.8938 GB, free: 14.18 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0004577/0.6785, allocations: 215.7 kB / 0.894 GB, free: 13.97 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001823/0.6803, allocations: 366 kB / 0.8943 GB, free: 13.62 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002411/0.6827, allocations: 1.427 MB / 0.8957 GB, free: 12.14 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005303/0.6833, allocations: 0.9496 MB / 0.8967 GB, free: 11.16 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001857/0.6835, allocations: 51.44 kB / 0.8967 GB, free: 11.11 MB / 0.67 GB Notification: Performance of SimCode: time 6.11e-07/0.6835, allocations: 0 / 0.8967 GB, free: 11.11 MB / 0.67 GB Notification: Performance of Templates: time 0.01668/0.7002, allocations: 13.16 MB / 0.9096 GB, free: 14.04 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)