Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ConservationEquation") translateModel(BuildingSystems.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.788/0.788, allocations: 140.1 MB / 156 MB, free: 5.141 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.001103/0.001103, allocations: 180.6 kB / 188.5 MB, free: 15.82 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.772/1.772, allocations: 205.4 MB / 426.3 MB, free: 8.453 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008125/0.0008127, allocations: 90.34 kB / 0.4945 GB, free: 8.391 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001924/0.001924, allocations: 265.9 kB / 0.5728 GB, free: 66.21 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004899/0.0004899, allocations: 24 kB / 0.662 GB, free: 6.793 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4712/0.4717, allocations: 79.31 MB / 0.7395 GB, free: 46.33 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7752/1.247, allocations: 358.4 MB / 1.089 GB, free: 2.336 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002579/1.247, allocations: 89.08 kB / 1.09 GB, free: 2.289 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.812/2.059, allocations: 253.3 MB / 1.337 GB, free: 72.63 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.226e-06/2.059, allocations: 0 / 1.337 GB, free: 72.63 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 9.675e-05/2.059, allocations: 16 kB / 1.337 GB, free: 72.62 MB / 0.6667 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.002648/2.062, allocations: 1.019 MB / 1.338 GB, free: 71.54 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/2.062, allocations: 8.031 kB / 1.338 GB, free: 71.53 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009437/2.063, allocations: 188 kB / 1.338 GB, free: 71.35 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02055/2.084, allocations: 10.94 MB / 1.349 GB, free: 60.24 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003183/2.084, allocations: 97.5 kB / 1.349 GB, free: 60.14 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001926/2.084, allocations: 44.31 kB / 1.349 GB, free: 60.1 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001133/2.085, allocations: 0.5141 MB / 1.349 GB, free: 59.57 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.362e-05/2.085, allocations: 0 / 1.349 GB, free: 59.57 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.48e-05/2.085, allocations: 19.98 kB / 1.349 GB, free: 59.55 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.584e-05/2.086, allocations: 12 kB / 1.349 GB, free: 59.54 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000956/2.086, allocations: 426.6 kB / 1.35 GB, free: 59.12 MB / 0.6667 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.003147/2.09, allocations: 2.272 MB / 1.352 GB, free: 56.64 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008641/2.091, allocations: 385 kB / 1.352 GB, free: 56.25 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000429/2.091, allocations: 236.9 kB / 1.353 GB, free: 56.02 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002702/2.091, allocations: 344.6 kB / 1.353 GB, free: 55.61 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000558/2.092, allocations: 311.5 kB / 1.353 GB, free: 55.29 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=33): time 2.866e-06/2.092, allocations: 0 / 1.353 GB, free: 55.29 MB / 0.6667 GB Notification: Performance of matching and sorting (n=33): time 0.002182/2.094, allocations: 0.9054 MB / 1.354 GB, free: 54.35 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/2.094, allocations: 93.05 kB / 1.354 GB, free: 54.24 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005314/2.095, allocations: 490.9 kB / 1.355 GB, free: 53.75 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 5.695e-05/2.095, allocations: 33.7 kB / 1.355 GB, free: 53.71 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001843/2.095, allocations: 276.4 kB / 1.355 GB, free: 53.44 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/2.095, allocations: 110.5 kB / 1.355 GB, free: 53.33 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.897e-05/2.095, allocations: 8 kB / 1.355 GB, free: 53.32 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.391e-05/2.095, allocations: 362.8 kB / 1.355 GB, free: 52.96 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00038/2.095, allocations: 179.9 kB / 1.356 GB, free: 52.78 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004236/2.096, allocations: 279.7 kB / 1.356 GB, free: 52.47 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008227/2.097, allocations: 489 kB / 1.356 GB, free: 51.96 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/2.097, allocations: 0 / 1.356 GB, free: 51.96 MB / 0.6667 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001287/2.098, allocations: 0.6396 MB / 1.357 GB, free: 51.3 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.266e-05/2.098, allocations: 172.9 kB / 1.357 GB, free: 51.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/2.098, allocations: 0 / 1.357 GB, free: 51.1 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003151/2.099, allocations: 60.81 kB / 1.357 GB, free: 51.04 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000335/2.099, allocations: 95.86 kB / 1.357 GB, free: 50.95 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003615/2.099, allocations: 0.5913 MB / 1.358 GB, free: 50.33 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006073/2.1, allocations: 83.69 kB / 1.358 GB, free: 50.25 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.856e-05/2.1, allocations: 27.97 kB / 1.358 GB, free: 50.22 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/2.1, allocations: 4 kB / 1.358 GB, free: 50.21 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001091/2.101, allocations: 0.5837 MB / 1.359 GB, free: 49.62 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/2.101, allocations: 3.938 kB / 1.359 GB, free: 49.62 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000137/2.101, allocations: 52.83 kB / 1.359 GB, free: 49.56 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003119/2.102, allocations: 84.03 kB / 1.359 GB, free: 49.48 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001243/2.103, allocations: 1.631 MB / 1.36 GB, free: 47.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005801/2.103, allocations: 75.7 kB / 1.36 GB, free: 47.63 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.688e-05/2.103, allocations: 19.98 kB / 1.36 GB, free: 47.61 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (32): * Single equations (assignments): 30 * 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.0003776/2.104, allocations: 299.7 kB / 1.361 GB, free: 47.3 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/2.104, allocations: 59.34 kB / 1.361 GB, free: 47.24 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001332/2.105, allocations: 0.6774 MB / 1.361 GB, free: 46.55 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/2.105, allocations: 4 kB / 1.361 GB, free: 46.54 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/2.105, allocations: 3.984 kB / 1.361 GB, free: 46.54 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001059/2.106, allocations: 0.8363 MB / 1.362 GB, free: 45.62 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002081/2.108, allocations: 1.324 MB / 1.363 GB, free: 44.23 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/2.108, allocations: 0 / 1.363 GB, free: 44.23 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003253/2.109, allocations: 67.94 kB / 1.364 GB, free: 44.16 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001138/2.109, allocations: 56.78 kB / 1.364 GB, free: 44.1 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.176e-05/2.109, allocations: 12 kB / 1.364 GB, free: 44.09 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002462/2.109, allocations: 0.5796 MB / 1.364 GB, free: 43.48 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/2.109, allocations: 0 / 1.364 GB, free: 43.48 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001595/2.111, allocations: 1.011 MB / 1.365 GB, free: 42.44 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002764/2.111, allocations: 184.3 kB / 1.365 GB, free: 42.24 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.416e-05/2.111, allocations: 12 kB / 1.365 GB, free: 42.23 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000536/2.112, allocations: 67.97 kB / 1.365 GB, free: 42.16 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.282e-05/2.112, allocations: 31.84 kB / 1.365 GB, free: 42.13 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.511e-05/2.112, allocations: 15.98 kB / 1.365 GB, free: 42.11 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0003446/2.112, allocations: 346.8 kB / 1.366 GB, free: 41.78 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.6e-07/2.112, allocations: 0 / 1.366 GB, free: 41.78 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001351/2.114, allocations: 383.4 kB / 1.366 GB, free: 41.4 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * 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.000964/2.115, allocations: 418.8 kB / 1.367 GB, free: 40.99 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001869/2.116, allocations: 1.002 MB / 1.368 GB, free: 39.95 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/2.116, allocations: 0 / 1.368 GB, free: 39.95 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0005465/2.117, allocations: 323.4 kB / 1.368 GB, free: 39.62 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00128/2.118, allocations: 242 kB / 1.368 GB, free: 39.39 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00202/2.12, allocations: 1.345 MB / 1.369 GB, free: 38 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/2.121, allocations: 0.8784 MB / 1.37 GB, free: 37.1 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0005598/2.121, allocations: 124.3 kB / 1.37 GB, free: 36.97 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/2.121, allocations: 47.36 kB / 1.37 GB, free: 36.93 MB / 0.6667 GB Notification: Performance of SimCode: time 2.6e-07/2.121, allocations: 0 / 1.37 GB, free: 36.93 MB / 0.6667 GB Notification: Performance of Templates: time 0.01812/2.139, allocations: 12.16 MB / 1.382 GB, free: 24.85 MB / 0.6667 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ConservationEquation.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ConservationEquation.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)