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.7766/0.7766, allocations: 128.7 MB / 143.7 MB, free: 2.348 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.001203/0.001202, allocations: 182 kB / 173.8 MB, free: 6.137 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.811/1.811, allocations: 205.4 MB / 409 MB, free: 10.48 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.0009075/0.0009075, allocations: 101.2 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003441/0.0003442, allocations: 14.53 kB / 0.5603 GB, free: 97.52 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.162, allocations: 76.76 MB / 0.6353 GB, free: 30.55 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8393/1.001, allocations: 349.5 MB / 0.9767 GB, free: 8.23 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002728/1.002, allocations: 96.89 kB / 0.9768 GB, free: 8.18 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.8302/1.832, allocations: 248.9 MB / 1.22 GB, free: 30.82 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.673e-06/1.832, allocations: 4 kB / 1.22 GB, free: 30.82 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.002e-05/1.832, allocations: 23.92 kB / 1.22 GB, free: 30.79 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001814/1.834, allocations: 1.019 MB / 1.221 GB, free: 29.72 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/1.834, allocations: 8.031 kB / 1.221 GB, free: 29.71 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007285/1.835, allocations: 179 kB / 1.221 GB, free: 29.54 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0201/1.855, allocations: 11.44 MB / 1.232 GB, free: 17.93 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002985/1.855, allocations: 96.94 kB / 1.232 GB, free: 17.84 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.72e-05/1.855, allocations: 36 kB / 1.232 GB, free: 17.8 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/1.857, allocations: 0.5983 MB / 1.233 GB, free: 17.17 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/1.857, allocations: 7.953 kB / 1.233 GB, free: 17.16 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.179e-05/1.857, allocations: 12 kB / 1.233 GB, free: 17.15 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.877e-05/1.857, allocations: 12 kB / 1.233 GB, free: 17.14 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001451/1.858, allocations: 0.5103 MB / 1.233 GB, free: 16.63 MB / 0.6511 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.002612/1.861, allocations: 2.271 MB / 1.236 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001439/1.862, allocations: 478.3 kB / 1.236 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002427/1.863, allocations: 340.4 kB / 1.236 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001071/1.864, allocations: 404.9 kB / 1.237 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=30): time 2.936e-06/1.864, allocations: 3.938 kB / 1.237 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of matching and sorting (n=30): time 0.005274/1.869, allocations: 1.405 MB / 1.238 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.049e-05/1.869, allocations: 93.03 kB / 1.238 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000505/1.87, allocations: 434.1 kB / 1.239 GB, free: 10.85 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.855e-05/1.87, allocations: 33.7 kB / 1.239 GB, free: 10.81 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001751/1.87, allocations: 292 kB / 1.239 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.781e-05/1.87, allocations: 90.66 kB / 1.239 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.298e-05/1.87, allocations: 8 kB / 1.239 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.584e-05/1.87, allocations: 366.7 kB / 1.239 GB, free: 10.06 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005134/1.87, allocations: 207.9 kB / 1.24 GB, free: 9.855 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005417/1.871, allocations: 315.6 kB / 1.24 GB, free: 9.504 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005468/1.872, allocations: 267.1 kB / 1.24 GB, free: 9.238 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/1.872, allocations: 4 kB / 1.24 GB, free: 9.234 MB / 0.6511 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.003626/1.875, allocations: 0.978 MB / 1.241 GB, free: 8.242 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001595/1.875, allocations: 0.7399 MB / 1.242 GB, free: 7.441 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/1.875, allocations: 0 / 1.242 GB, free: 7.441 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004859/1.876, allocations: 136.7 kB / 1.242 GB, free: 7.305 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003588/1.876, allocations: 79.94 kB / 1.242 GB, free: 7.227 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001255/1.878, allocations: 0.7825 MB / 1.243 GB, free: 6.418 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000728/1.878, allocations: 91.69 kB / 1.243 GB, free: 6.328 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.69e-05/1.878, allocations: 19.98 kB / 1.243 GB, free: 6.309 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/1.878, allocations: 4 kB / 1.243 GB, free: 6.305 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00108/1.879, allocations: 0.5644 MB / 1.244 GB, free: 5.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/1.879, allocations: 224 / 1.244 GB, free: 5.73 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000145/1.88, allocations: 60.89 kB / 1.244 GB, free: 5.668 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003256/1.88, allocations: 87.83 kB / 1.244 GB, free: 5.582 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001186/1.881, allocations: 1.635 MB / 1.245 GB, free: 3.797 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005403/1.882, allocations: 79.69 kB / 1.245 GB, free: 3.719 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.852e-05/1.882, allocations: 19.98 kB / 1.245 GB, free: 3.699 MB / 0.6511 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.0003652/1.882, allocations: 299.5 kB / 1.246 GB, free: 3.391 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.778e-05/1.882, allocations: 55.34 kB / 1.246 GB, free: 3.336 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003777/1.886, allocations: 1.009 MB / 1.247 GB, free: 2.309 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/1.886, allocations: 4 kB / 1.247 GB, free: 2.305 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/1.886, allocations: 3.953 kB / 1.247 GB, free: 2.301 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003528/1.89, allocations: 1.141 MB / 1.248 GB, free: 1.082 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4012/2.291, allocations: 1.583 MB / 1.249 GB, free: 157.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.909e-06/2.291, allocations: 3.281 kB / 1.249 GB, free: 157.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000387/2.291, allocations: 61.41 kB / 1.249 GB, free: 157.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004528/2.292, allocations: 123.8 kB / 1.25 GB, free: 157.9 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.64e-05/2.292, allocations: 14.27 kB / 1.25 GB, free: 157.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006815/2.299, allocations: 2.5 MB / 1.252 GB, free: 156.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/2.299, allocations: 3.688 kB / 1.252 GB, free: 156.5 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004764/2.303, allocations: 1.318 MB / 1.253 GB, free: 156.3 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000465/2.304, allocations: 182.1 kB / 1.253 GB, free: 156.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.645e-05/2.304, allocations: 7.031 kB / 1.253 GB, free: 156.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006889/2.305, allocations: 84.95 kB / 1.254 GB, free: 156.2 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/2.305, allocations: 24.56 kB / 1.254 GB, free: 156.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.938e-05/2.305, allocations: 20.2 kB / 1.254 GB, free: 156.2 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0005566/2.305, allocations: 362.4 kB / 1.254 GB, free: 156.1 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.3e-07/2.305, allocations: 0 / 1.254 GB, free: 156.1 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001739/2.307, allocations: 400.2 kB / 1.254 GB, free: 156.1 MB / 0.6511 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.0009355/2.308, allocations: 421.9 kB / 1.255 GB, free: 156 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002908/2.311, allocations: 1.093 MB / 1.256 GB, free: 155.8 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/2.311, allocations: 0 / 1.256 GB, free: 155.8 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001295/2.312, allocations: 0.51 MB / 1.256 GB, free: 155.6 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001339/2.314, allocations: 237.8 kB / 1.257 GB, free: 155.6 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002501/2.316, allocations: 1.31 MB / 1.258 GB, free: 155.1 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004709/2.317, allocations: 0.8897 MB / 1.259 GB, free: 154.4 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0005935/2.317, allocations: 115.6 kB / 1.259 GB, free: 154.4 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/2.317, allocations: 43.83 kB / 1.259 GB, free: 154.4 MB / 0.6511 GB Notification: Performance of SimCode: time 1.162e-06/2.317, allocations: 0 / 1.259 GB, free: 154.4 MB / 0.6511 GB Notification: Performance of Templates: time 0.02375/2.341, allocations: 13.28 MB / 1.272 GB, free: 154.2 MB / 0.6511 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)