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.4.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.4.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") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.6525/0.6525, allocations: 117.9 MB / 133.9 MB, free: 4.543 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.001159/0.001159, allocations: 185.6 kB / 161.7 MB, free: 2.762 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.796/1.796, allocations: 205.4 MB / 394.8 MB, free: 20.92 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.0008976/0.0008979, allocations: 102.9 kB / 470.1 MB, free: 12.14 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004701/0.00047, allocations: 12 kB / 0.5423 GB, free: 6.863 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4549/0.4553, allocations: 74.54 MB / 0.6151 GB, free: 54.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7515/1.207, allocations: 348.5 MB / 0.9554 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002557/1.207, allocations: 93.38 kB / 0.9555 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.8552/2.062, allocations: 247.5 MB / 1.197 GB, free: 52.88 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.176e-06/2.062, allocations: 0 / 1.197 GB, free: 52.88 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.384e-05/2.063, allocations: 23.98 kB / 1.197 GB, free: 52.86 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.00291/2.066, allocations: 1.008 MB / 1.198 GB, free: 51.79 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/2.066, allocations: 12.03 kB / 1.198 GB, free: 51.78 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009355/2.067, allocations: 180 kB / 1.198 GB, free: 51.6 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01971/2.086, allocations: 10.51 MB / 1.209 GB, free: 40.92 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003062/2.087, allocations: 97.44 kB / 1.209 GB, free: 40.82 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001617/2.087, allocations: 36.38 kB / 1.209 GB, free: 40.79 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001682/2.088, allocations: 0.6064 MB / 1.209 GB, free: 40.16 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.228e-05/2.088, allocations: 0 / 1.209 GB, free: 40.16 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.849e-05/2.089, allocations: 16 kB / 1.209 GB, free: 40.14 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.247e-05/2.089, allocations: 19.88 kB / 1.209 GB, free: 40.12 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001498/2.09, allocations: 0.5103 MB / 1.21 GB, free: 39.62 MB / 0.6355 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.003396/2.094, allocations: 2.267 MB / 1.212 GB, free: 37.13 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001391/2.095, allocations: 478.4 kB / 1.213 GB, free: 36.66 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004053/2.095, allocations: 216.7 kB / 1.213 GB, free: 36.44 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002668/2.096, allocations: 340.4 kB / 1.213 GB, free: 36.04 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001035/2.097, allocations: 396.8 kB / 1.214 GB, free: 35.63 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=30): time 5.371e-06/2.097, allocations: 4 kB / 1.214 GB, free: 35.62 MB / 0.6355 GB Notification: Performance of matching and sorting (n=30): time 0.005644/2.102, allocations: 1.445 MB / 1.215 GB, free: 34.14 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/2.102, allocations: 85.11 kB / 1.215 GB, free: 34.04 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005976/2.103, allocations: 487 kB / 1.216 GB, free: 33.56 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.582e-05/2.103, allocations: 33.7 kB / 1.216 GB, free: 33.52 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001912/2.103, allocations: 292 kB / 1.216 GB, free: 33.23 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.444e-05/2.103, allocations: 98.58 kB / 1.216 GB, free: 33.13 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.345e-05/2.103, allocations: 8 kB / 1.216 GB, free: 33.12 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.247e-05/2.103, allocations: 363 kB / 1.216 GB, free: 32.76 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005212/2.104, allocations: 211.8 kB / 1.216 GB, free: 32.55 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005431/2.105, allocations: 331.5 kB / 1.217 GB, free: 32.19 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001039/2.106, allocations: 0.5264 MB / 1.217 GB, free: 31.62 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/2.106, allocations: 4 kB / 1.217 GB, free: 31.62 MB / 0.6355 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.004027/2.11, allocations: 1.08 MB / 1.218 GB, free: 30.52 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.281e-05/2.11, allocations: 168.9 kB / 1.219 GB, free: 30.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/2.11, allocations: 4 kB / 1.219 GB, free: 30.32 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004693/2.11, allocations: 128.8 kB / 1.219 GB, free: 30.19 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003475/2.111, allocations: 87.88 kB / 1.219 GB, free: 30.11 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006926/2.118, allocations: 2.798 MB / 1.221 GB, free: 27.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007847/2.118, allocations: 103.6 kB / 1.222 GB, free: 27.05 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.88e-05/2.118, allocations: 19.98 kB / 1.222 GB, free: 27.04 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/2.119, allocations: 9.719 kB / 1.222 GB, free: 27.03 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001178/2.12, allocations: 0.5723 MB / 1.222 GB, free: 26.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/2.12, allocations: 4 kB / 1.222 GB, free: 26.44 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001547/2.12, allocations: 48.81 kB / 1.222 GB, free: 26.39 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003316/2.12, allocations: 87.92 kB / 1.222 GB, free: 26.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001114/2.121, allocations: 1.623 MB / 1.224 GB, free: 24.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006048/2.122, allocations: 75.73 kB / 1.224 GB, free: 24.46 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.773e-05/2.122, allocations: 23.98 kB / 1.224 GB, free: 24.44 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 () * Number of clocked 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.0003886/2.122, allocations: 299.9 kB / 1.224 GB, free: 24.13 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/2.123, allocations: 55.34 kB / 1.224 GB, free: 24.08 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003361/2.126, allocations: 1.005 MB / 1.225 GB, free: 23.05 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/2.126, allocations: 7.938 kB / 1.225 GB, free: 23.04 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/2.126, allocations: 0 / 1.225 GB, free: 23.04 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003115/2.129, allocations: 1.141 MB / 1.226 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004212/2.133, allocations: 1.609 MB / 1.228 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/2.133, allocations: 3.938 kB / 1.228 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000309/2.134, allocations: 55.95 kB / 1.228 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003741/2.134, allocations: 124.8 kB / 1.228 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.654e-05/2.134, allocations: 15.98 kB / 1.228 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005498/2.14, allocations: 2.45 MB / 1.231 GB, free: 17.35 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/2.14, allocations: 0 / 1.231 GB, free: 17.35 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00388/2.143, allocations: 1.325 MB / 1.232 GB, free: 16 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003592/2.144, allocations: 180.3 kB / 1.232 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001311/2.144, allocations: 8 kB / 1.232 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006453/2.145, allocations: 76.11 kB / 1.232 GB, free: 15.72 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.229e-05/2.145, allocations: 19.97 kB / 1.232 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.373e-05/2.145, allocations: 27.97 kB / 1.232 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005075/2.145, allocations: 354.8 kB / 1.232 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.8e-07/2.145, allocations: 3.938 kB / 1.232 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001937/2.147, allocations: 443.4 kB / 1.233 GB, free: 14.89 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) * Number of clocked states: 0 () * 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.0009278/2.148, allocations: 415 kB / 1.233 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002544/2.151, allocations: 1.221 MB / 1.234 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/2.151, allocations: 0 / 1.234 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001045/2.152, allocations: 0.5095 MB / 1.235 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001326/2.153, allocations: 242.2 kB / 1.235 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002249/2.155, allocations: 1.305 MB / 1.237 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/2.156, allocations: 0.878 MB / 1.237 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0005572/2.156, allocations: 112.4 kB / 1.237 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/2.157, allocations: 51.42 kB / 1.238 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of SimCode: time 8.92e-07/2.157, allocations: 0 / 1.238 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of Templates: time 0.399/2.556, allocations: 14.33 MB / 1.252 GB, free: 157.2 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)