Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation.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.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation") translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.742/0.742, allocations: 127.3 MB / 139.8 MB, free: 15.48 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001204/0.001204, allocations: 188.8 kB / 169.7 MB, free: 1.73 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.924/1.924, allocations: 205.1 MB / 404.5 MB, free: 1.652 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.0008428/0.0008427, allocations: 87.48 kB / 481.8 MB, free: 4.293 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.955e-05/4.007e-05, allocations: 4 kB / 0.5532 GB, free: 54.85 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2145/0.2145, allocations: 76.77 MB / 0.6282 GB, free: 10.02 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.404/1.618, allocations: 349.4 MB / 0.9694 GB, free: 184.8 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003427/1.619, allocations: 83.95 kB / 0.9695 GB, free: 184.7 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.9472/2.566, allocations: 248.2 MB / 1.212 GB, free: 157.6 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.254e-06/2.566, allocations: 0 / 1.212 GB, free: 157.6 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.8e-05/2.566, allocations: 20.19 kB / 1.212 GB, free: 157.6 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001832/2.568, allocations: 0.9038 MB / 1.213 GB, free: 156.9 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/2.568, allocations: 7.219 kB / 1.213 GB, free: 156.9 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008023/2.569, allocations: 180.5 kB / 1.213 GB, free: 156.9 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02181/2.591, allocations: 11.38 MB / 1.224 GB, free: 153.4 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003358/2.591, allocations: 92.69 kB / 1.224 GB, free: 153.4 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.232e-05/2.591, allocations: 42.28 kB / 1.224 GB, free: 153.4 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001288/2.592, allocations: 0.5123 MB / 1.225 GB, free: 153.2 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/2.592, allocations: 3.953 kB / 1.225 GB, free: 153.2 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.966e-05/2.593, allocations: 15.78 kB / 1.225 GB, free: 153.2 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.311e-05/2.593, allocations: 14.38 kB / 1.225 GB, free: 153.2 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009383/2.594, allocations: 396 kB / 1.225 GB, free: 153 MB / 0.6355 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.002821/2.596, allocations: 2.275 MB / 1.227 GB, free: 151.3 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009134/2.597, allocations: 325.5 kB / 1.228 GB, free: 151.2 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002276/2.598, allocations: 167.2 kB / 1.228 GB, free: 151.1 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002901/2.598, allocations: 354.8 kB / 1.228 GB, free: 150.8 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007628/2.599, allocations: 310.5 kB / 1.228 GB, free: 150.6 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=30): time 4.268e-06/2.599, allocations: 0 / 1.228 GB, free: 150.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=30): time 0.003736/2.602, allocations: 0.8678 MB / 1.229 GB, free: 150.4 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/2.602, allocations: 85.05 kB / 1.229 GB, free: 150.3 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004921/2.603, allocations: 431.5 kB / 1.23 GB, free: 150.1 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.799e-05/2.603, allocations: 32.89 kB / 1.23 GB, free: 150.1 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001913/2.603, allocations: 288.8 kB / 1.23 GB, free: 149.8 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.15e-05/2.603, allocations: 96.14 kB / 1.23 GB, free: 149.8 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.388e-05/2.603, allocations: 10.56 kB / 1.23 GB, free: 149.8 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001061/2.603, allocations: 365.1 kB / 1.23 GB, free: 149.4 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002044/2.604, allocations: 132.3 kB / 1.231 GB, free: 149.4 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002668/2.604, allocations: 239.9 kB / 1.231 GB, free: 149.2 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002507/2.604, allocations: 175.4 kB / 1.231 GB, free: 149.1 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/2.604, allocations: 0 / 1.231 GB, free: 149.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00276/2.607, allocations: 0.8089 MB / 1.232 GB, free: 148.9 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002083/2.607, allocations: 0.7316 MB / 1.233 GB, free: 148.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/2.607, allocations: 0 / 1.233 GB, free: 148.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002782/2.607, allocations: 74.95 kB / 1.233 GB, free: 148.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003724/2.608, allocations: 86.78 kB / 1.233 GB, free: 148.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008876/2.609, allocations: 0.6972 MB / 1.233 GB, free: 147.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000754/2.61, allocations: 100.8 kB / 1.233 GB, free: 147.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-05/2.61, allocations: 26.98 kB / 1.233 GB, free: 147.5 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/2.61, allocations: 10.62 kB / 1.233 GB, free: 147.5 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007588/2.61, allocations: 468.5 kB / 1.234 GB, free: 147.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/2.61, allocations: 3.984 kB / 1.234 GB, free: 147.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001548/2.611, allocations: 55.27 kB / 1.234 GB, free: 147.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003401/2.611, allocations: 83.58 kB / 1.234 GB, free: 147.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001213/2.612, allocations: 1.622 MB / 1.236 GB, free: 145.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005654/2.613, allocations: 80.66 kB / 1.236 GB, free: 145.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.415e-05/2.613, allocations: 22.55 kB / 1.236 GB, free: 145.7 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001967/2.613, allocations: 163.4 kB / 1.236 GB, free: 145.6 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.801e-05/2.613, allocations: 59.09 kB / 1.236 GB, free: 145.6 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00283/2.616, allocations: 0.8289 MB / 1.237 GB, free: 145.3 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/2.616, allocations: 7.906 kB / 1.237 GB, free: 145.3 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/2.616, allocations: 7.703 kB / 1.237 GB, free: 145.3 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002627/2.619, allocations: 0.9606 MB / 1.238 GB, free: 144.7 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003618/2.622, allocations: 1.414 MB / 1.239 GB, free: 143.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/2.622, allocations: 0 / 1.239 GB, free: 143.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003231/2.623, allocations: 63.02 kB / 1.239 GB, free: 143.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001824/2.623, allocations: 65.44 kB / 1.239 GB, free: 143.8 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.6e-05/2.623, allocations: 15.8 kB / 1.239 GB, free: 143.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004944/2.628, allocations: 2.186 MB / 1.241 GB, free: 141.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/2.628, allocations: 7.688 kB / 1.241 GB, free: 141.9 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003175/2.631, allocations: 1.061 MB / 1.242 GB, free: 141.4 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003535/2.631, allocations: 189.2 kB / 1.243 GB, free: 141.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.814e-05/2.631, allocations: 11.72 kB / 1.243 GB, free: 141.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006289/2.632, allocations: 86.52 kB / 1.243 GB, free: 141.2 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.765e-05/2.632, allocations: 23.61 kB / 1.243 GB, free: 141.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.824e-05/2.632, allocations: 13.89 kB / 1.243 GB, free: 141.1 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004743/2.633, allocations: 359.1 kB / 1.243 GB, free: 140.9 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.6e-07/2.633, allocations: 0 / 1.243 GB, free: 140.9 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001685/2.634, allocations: 397.3 kB / 1.243 GB, free: 140.9 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (dyn.U) * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008526/2.635, allocations: 429.7 kB / 1.244 GB, free: 140.7 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001705/2.637, allocations: 0.901 MB / 1.245 GB, free: 140.2 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/2.637, allocations: 3.344 kB / 1.245 GB, free: 140.2 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007982/2.638, allocations: 440 kB / 1.245 GB, free: 139.9 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001149/2.639, allocations: 231.3 kB / 1.245 GB, free: 139.8 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001453/2.64, allocations: 0.7364 MB / 1.246 GB, free: 139.4 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/2.641, allocations: 0.8881 MB / 1.247 GB, free: 138.6 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0006204/2.641, allocations: 142.8 kB / 1.247 GB, free: 138.5 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.729e-05/2.641, allocations: 33.14 kB / 1.247 GB, free: 138.5 MB / 0.6355 GB Notification: Performance of SimCode: time 6.11e-07/2.641, allocations: 0 / 1.247 GB, free: 138.5 MB / 0.6355 GB Notification: Performance of Templates: time 0.02077/2.662, allocations: 14.59 MB / 1.261 GB, free: 129.1 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)