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.001055/0.001055, allocations: 99.03 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 183.6 kB / 16.92 MB, free: 6.918 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.417/1.417, allocations: 223.3 MB / 241 MB, free: 5.363 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.042/1.042, allocations: 143.2 MB / 435.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003705/0.0003704, allocations: 12 kB / 0.517 GB, free: 11.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1974/0.1978, allocations: 83.41 MB / 0.5985 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density): time 0.5488/0.7467, allocations: 180.4 MB / 0.7747 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0116/0.7583, allocations: 6.98 MB / 0.7815 GB, free: 0.6562 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00129/0.7597, allocations: 19.88 kB / 0.7816 GB, free: 0.6367 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001434/0.7611, allocations: 342.1 kB / 0.7819 GB, free: 308 kB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00431/0.7655, allocations: 1.363 MB / 0.7832 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003326/0.7688, allocations: 1.044 MB / 0.7842 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003513/0.7723, allocations: 2.724 MB / 0.7869 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001113/0.7735, allocations: 0.5356 MB / 0.7874 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001851/0.7753, allocations: 0.7197 MB / 0.7881 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001571/0.7769, allocations: 0.5894 MB / 0.7887 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001438/0.7771, allocations: 28 kB / 0.7887 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004215/0.7813, allocations: 2.19 MB / 0.7909 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004319/0.7817, allocations: 255.2 kB / 0.7911 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0007167/0.7825, allocations: 411.8 kB / 0.7915 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002107/0.7846, allocations: 1.302 MB / 0.7928 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.7846, allocations: 0 / 0.7928 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.064e-06/0.7846, allocations: 0 / 0.7928 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.182e-05/0.7846, allocations: 0 / 0.7928 GB, free: 5.117 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.00207/0.7867, allocations: 1.02 MB / 0.7938 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.7868, allocations: 12.03 kB / 0.7938 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002039/0.7888, allocations: 270.8 kB / 0.794 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/0.7899, allocations: 0.5792 MB / 0.7946 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.579e-05/0.7899, allocations: 41.31 kB / 0.7946 GB, free: 3.113 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/0.7901, allocations: 52 kB / 0.7947 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/0.7913, allocations: 0.644 MB / 0.7953 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/0.7913, allocations: 3.938 kB / 0.7953 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.836e-05/0.7914, allocations: 20 kB / 0.7953 GB, free: 2.379 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.992e-05/0.7914, allocations: 25.25 kB / 0.7954 GB, free: 2.355 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/0.7924, allocations: 0.5321 MB / 0.7959 GB, free: 1.824 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.003324/0.7958, allocations: 2.461 MB / 0.7983 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006965/0.7965, allocations: 363.5 kB / 0.7986 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003978/0.7969, allocations: 248.8 kB / 0.7989 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005848/0.7975, allocations: 319.6 kB / 0.7992 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.7975, allocations: 38.89 kB / 0.7992 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=39): time 2.154e-06/0.7975, allocations: 0 / 0.7992 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39): time 0.001455/0.799, allocations: 0.6384 MB / 0.7998 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/0.7991, allocations: 55.41 kB / 0.7999 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006073/0.7997, allocations: 499 kB / 0.8004 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.914e-05/0.7997, allocations: 33.7 kB / 0.8004 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002546/0.8, allocations: 336.4 kB / 0.8007 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001445/0.8001, allocations: 142 kB / 0.8009 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.881e-05/0.8002, allocations: 41.69 kB / 0.8009 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.8004, allocations: 370.7 kB / 0.8012 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000332/0.8007, allocations: 172.8 kB / 0.8014 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004267/0.8012, allocations: 283.4 kB / 0.8017 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007596/0.8019, allocations: 464.5 kB / 0.8021 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.802, allocations: 3.984 kB / 0.8021 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009477/0.8029, allocations: 0.5318 MB / 0.8026 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001096/0.803, allocations: 149.6 kB / 0.8028 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.8031, allocations: 7.938 kB / 0.8028 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.8031, allocations: 7.938 kB / 0.8028 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007209/0.8038, allocations: 143.8 kB / 0.8029 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003835/0.8042, allocations: 0.6016 MB / 0.8035 GB, free: 9.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006939/0.8049, allocations: 83.58 kB / 0.8036 GB, free: 9.438 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.506e-05/0.805, allocations: 23.94 kB / 0.8036 GB, free: 9.414 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 9.378e-06/0.805, allocations: 4 kB / 0.8036 GB, free: 9.41 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008212/0.8058, allocations: 471.6 kB / 0.8041 GB, free: 8.953 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.8058, allocations: 0 / 0.8041 GB, free: 8.953 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.652e-06/0.8058, allocations: 8 kB / 0.8041 GB, free: 8.945 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005155/0.8064, allocations: 132 kB / 0.8042 GB, free: 8.816 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.8064, allocations: 11.92 kB / 0.8042 GB, free: 8.805 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006439/0.807, allocations: 75.64 kB / 0.8043 GB, free: 8.73 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.509e-05/0.8071, allocations: 12 kB / 0.8043 GB, free: 8.719 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.0003584/0.8074, allocations: 308.9 kB / 0.8046 GB, free: 8.406 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.8076, allocations: 59.25 kB / 0.8047 GB, free: 8.348 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009607/0.8085, allocations: 0.4908 MB / 0.8051 GB, free: 7.848 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.408e-06/0.8085, allocations: 11.92 kB / 0.8052 GB, free: 7.836 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.8086, allocations: 0 / 0.8052 GB, free: 7.836 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008313/0.8094, allocations: 0.7198 MB / 0.8059 GB, free: 7.031 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002085/0.8115, allocations: 1.292 MB / 0.8071 GB, free: 5.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/0.8115, allocations: 4 kB / 0.8071 GB, free: 5.656 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006321/0.8121, allocations: 136.7 kB / 0.8073 GB, free: 5.523 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.945e-06/0.8122, allocations: 4 kB / 0.8073 GB, free: 5.52 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.478e-05/0.8122, allocations: 12 kB / 0.8073 GB, free: 5.508 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000369/0.8126, allocations: 0.5976 MB / 0.8079 GB, free: 4.887 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.8126, allocations: 4.547 kB / 0.8079 GB, free: 4.883 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00124/0.8138, allocations: 0.8056 MB / 0.8086 GB, free: 4.039 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002736/0.8141, allocations: 184.3 kB / 0.8088 GB, free: 3.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.965e-05/0.8142, allocations: 13.5 kB / 0.8088 GB, free: 3.828 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005146/0.8147, allocations: 51.83 kB / 0.8089 GB, free: 3.777 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.848e-05/0.8148, allocations: 23.97 kB / 0.8089 GB, free: 3.754 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.578e-05/0.8149, allocations: 19.98 kB / 0.8089 GB, free: 3.734 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004207/0.8153, allocations: 350.8 kB / 0.8093 GB, free: 3.395 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8153, allocations: 3.938 kB / 0.8093 GB, free: 3.391 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000983/0.8163, allocations: 363.1 kB / 0.8096 GB, free: 3.035 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.0005091/0.8168, allocations: 206.6 kB / 0.8098 GB, free: 2.832 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001516/0.8183, allocations: 0.6772 MB / 0.8105 GB, free: 2.156 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.8184, allocations: 4.062 kB / 0.8105 GB, free: 2.152 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000446/0.8188, allocations: 228 kB / 0.8107 GB, free: 1.93 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002034/0.8209, allocations: 371.4 kB / 0.811 GB, free: 1.582 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002623/0.8235, allocations: 1.78 MB / 0.8128 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005696/0.8241, allocations: 0.9496 MB / 0.8137 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001693/0.8243, allocations: 51.42 kB / 0.8138 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of SimCode: time 3.7e-07/0.8243, allocations: 0 / 0.8138 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of Templates: time 0.0197/0.844, allocations: 12.97 MB / 0.8264 GB, free: 1.879 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)