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/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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/BuildSysPro 3.5.0/package.mo): time 0.8762/0.8762, allocations: 127.4 MB / 134.9 MB, free: 3.457 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001068/0.001068, allocations: 181.8 kB / 164.6 MB, free: 11.62 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.582/1.582, allocations: 205.2 MB / 399.5 MB, free: 13.53 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009447/0.0009448, allocations: 79.67 kB / 476.7 MB, free: 1.523 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.564e-05/2.549e-05, allocations: 5.312 kB / 0.5466 GB, free: 95.41 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1857/0.1857, allocations: 76.76 MB / 0.6215 GB, free: 43.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.118/5.304, allocations: 2.156 GB / 2.777 GB, free: 27.94 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002478/5.305, allocations: 87.95 kB / 2.777 GB, free: 27.86 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.676/6.98, allocations: 476 MB / 3.242 GB, free: 73.35 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.054e-06/6.98, allocations: 0 / 3.242 GB, free: 73.35 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.291e-05/6.98, allocations: 27.92 kB / 3.242 GB, free: 73.32 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.002564/6.983, allocations: 1.02 MB / 3.243 GB, free: 72.25 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/6.983, allocations: 8.031 kB / 3.243 GB, free: 72.25 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00221/6.985, allocations: 266.8 kB / 3.244 GB, free: 71.98 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001376/6.987, allocations: 0.6405 MB / 3.244 GB, free: 71.3 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.817e-05/6.987, allocations: 16 kB / 3.244 GB, free: 71.29 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001502/6.987, allocations: 32 kB / 3.244 GB, free: 71.26 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008807/6.988, allocations: 446.5 kB / 3.245 GB, free: 70.82 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009096/6.989, allocations: 0.5166 MB / 3.245 GB, free: 70.29 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.239e-05/6.989, allocations: 0 / 3.245 GB, free: 70.29 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.297e-05/6.989, allocations: 4 kB / 3.245 GB, free: 70.28 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.503e-05/6.989, allocations: 17.31 kB / 3.245 GB, free: 70.27 MB / 0.6511 GB Warning: The model contains alias variables with conflicting start and/or 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.002818/6.992, allocations: 2.312 MB / 3.247 GB, free: 67.76 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004515/6.992, allocations: 347.1 kB / 3.248 GB, free: 67.41 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002362/6.992, allocations: 197.8 kB / 3.248 GB, free: 67.21 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000451/6.993, allocations: 299.3 kB / 3.248 GB, free: 66.86 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/6.993, allocations: 38.5 kB / 3.248 GB, free: 66.82 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=38): time 1.694e-06/6.993, allocations: 4 kB / 3.248 GB, free: 66.81 MB / 0.6511 GB Notification: Performance of matching and sorting (n=38): time 0.001244/6.994, allocations: 437.3 kB / 3.249 GB, free: 66.38 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.181e-05/6.994, allocations: 59.36 kB / 3.249 GB, free: 66.31 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003579/6.994, allocations: 365.2 kB / 3.249 GB, free: 65.95 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.739e-05/6.994, allocations: 25.7 kB / 3.249 GB, free: 65.91 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000157/6.995, allocations: 328.2 kB / 3.249 GB, free: 65.59 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 8.705e-05/6.995, allocations: 130 kB / 3.25 GB, free: 65.46 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.242e-05/6.995, allocations: 4 kB / 3.25 GB, free: 65.46 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.08e-05/6.995, allocations: 362.8 kB / 3.25 GB, free: 65.09 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001902/6.995, allocations: 132.8 kB / 3.25 GB, free: 64.96 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002436/6.995, allocations: 251.4 kB / 3.25 GB, free: 64.67 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003391/6.996, allocations: 199.4 kB / 3.25 GB, free: 64.48 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/6.996, allocations: 3.984 kB / 3.25 GB, free: 64.48 MB / 0.6511 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007011/6.996, allocations: 473.4 kB / 3.251 GB, free: 64.01 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.000206/6.997, allocations: 0.792 MB / 3.252 GB, free: 63.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/6.997, allocations: 4 kB / 3.252 GB, free: 63.15 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.724e-05/6.997, allocations: 4 kB / 3.252 GB, free: 63.15 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/6.998, allocations: 183.8 kB / 3.252 GB, free: 62.97 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005772/6.998, allocations: 0.6523 MB / 3.253 GB, free: 62.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007568/6.999, allocations: 67.67 kB / 3.253 GB, free: 62.23 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.382e-05/6.999, allocations: 23.95 kB / 3.253 GB, free: 62.2 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/6.999, allocations: 4 kB / 3.253 GB, free: 62.2 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006095/7, allocations: 383.5 kB / 3.253 GB, free: 61.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/7, allocations: 4 kB / 3.253 GB, free: 61.82 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.895e-06/7, allocations: 4 kB / 3.253 GB, free: 61.82 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003888/7, allocations: 99.83 kB / 3.253 GB, free: 61.72 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/7, allocations: 4 kB / 3.253 GB, free: 61.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005902/7.001, allocations: 55.95 kB / 3.253 GB, free: 61.66 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.335e-05/7.001, allocations: 20 kB / 3.253 GB, free: 61.64 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001423/7.001, allocations: 120.8 kB / 3.253 GB, free: 61.52 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.804e-05/7.001, allocations: 59.28 kB / 3.253 GB, free: 61.46 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006903/7.002, allocations: 427.7 kB / 3.254 GB, free: 61.03 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/7.002, allocations: 4 kB / 3.254 GB, free: 61.03 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/7.002, allocations: 3.984 kB / 3.254 GB, free: 61.02 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005422/7.002, allocations: 0.6634 MB / 3.254 GB, free: 60.27 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0016/7.004, allocations: 1.137 MB / 3.256 GB, free: 59.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/7.004, allocations: 4 kB / 3.256 GB, free: 59.07 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001111/7.005, allocations: 200 kB / 3.256 GB, free: 58.88 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.909e-06/7.005, allocations: 4 kB / 3.256 GB, free: 58.87 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.503e-05/7.005, allocations: 8 kB / 3.256 GB, free: 58.86 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001574/7.007, allocations: 1.391 MB / 3.257 GB, free: 57.36 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/7.007, allocations: 0 / 3.257 GB, free: 57.36 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008779/7.008, allocations: 0.8228 MB / 3.258 GB, free: 56.46 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000242/7.008, allocations: 180.4 kB / 3.258 GB, free: 56.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.651e-05/7.008, allocations: 0 / 3.258 GB, free: 56.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005829/7.009, allocations: 51.89 kB / 3.258 GB, free: 56.21 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.439e-05/7.009, allocations: 27.95 kB / 3.258 GB, free: 56.19 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.473e-05/7.009, allocations: 12 kB / 3.258 GB, free: 56.18 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002657/7.009, allocations: 286.9 kB / 3.258 GB, free: 55.9 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.7e-07/7.009, allocations: 0 / 3.258 GB, free: 55.9 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001213/7.01, allocations: 442.9 kB / 3.259 GB, free: 55.46 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],senDenFlo.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002101/7.012, allocations: 1.564 MB / 3.26 GB, free: 53.85 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001461/7.014, allocations: 0.6444 MB / 3.261 GB, free: 53.2 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/7.014, allocations: 0 / 3.261 GB, free: 53.2 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0009146/7.015, allocations: 276.9 kB / 3.261 GB, free: 52.93 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001552/7.016, allocations: 319.8 kB / 3.262 GB, free: 52.62 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001647/7.018, allocations: 1.065 MB / 3.263 GB, free: 51.51 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000367/7.018, allocations: 0.9577 MB / 3.264 GB, free: 50.53 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0008608/7.019, allocations: 224.6 kB / 3.264 GB, free: 50.3 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/7.019, allocations: 39.44 kB / 3.264 GB, free: 50.27 MB / 0.6511 GB Notification: Performance of SimCode: time 4.91e-07/7.019, allocations: 0 / 3.264 GB, free: 50.27 MB / 0.6511 GB Notification: Performance of Templates: time 0.0256/7.045, allocations: 18.92 MB / 3.282 GB, free: 31.46 MB / 0.6511 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)