Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5865/0.5865, allocations: 94.77 MB / 102.2 MB, free: 10.13 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001245/0.001245, allocations: 179.4 kB / 125.6 MB, free: 11.86 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.806/1.806, allocations: 170.6 MB / 319.4 MB, free: 9.312 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001714/0.001714, allocations: 114.7 kB / 381.3 MB, free: 18.23 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.436e-05/2.451e-05, allocations: 4 kB / 449.1 MB, free: 1.727 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.1832, allocations: 61.53 MB / 0.4987 GB, free: 4.105 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.194/1.377, allocations: 404.4 MB / 0.8936 GB, free: 1.977 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002863/1.378, allocations: 83.27 kB / 0.8936 GB, free: 1.934 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.756/2.134, allocations: 192.8 MB / 1.082 GB, free: 34.09 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.915e-06/2.134, allocations: 0 / 1.082 GB, free: 34.09 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.712e-05/2.134, allocations: 16.19 kB / 1.082 GB, free: 34.08 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.002515/2.136, allocations: 0.8777 MB / 1.083 GB, free: 33.15 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.401e-05/2.136, allocations: 12.03 kB / 1.083 GB, free: 33.14 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005978/2.137, allocations: 91.05 kB / 1.083 GB, free: 33.05 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001609/2.139, allocations: 0.6558 MB / 1.084 GB, free: 32.35 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.901e-05/2.139, allocations: 16 kB / 1.084 GB, free: 32.34 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/2.139, allocations: 27.95 kB / 1.084 GB, free: 32.31 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006212/2.139, allocations: 314.5 kB / 1.084 GB, free: 32 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007522/2.14, allocations: 466.8 kB / 1.084 GB, free: 31.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/2.14, allocations: 4 kB / 1.084 GB, free: 31.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.108e-05/2.14, allocations: 0 / 1.084 GB, free: 31.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.36e-05/2.14, allocations: 12 kB / 1.084 GB, free: 31.49 MB / 0.5261 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.002979/2.143, allocations: 2.315 MB / 1.087 GB, free: 29.03 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004437/2.144, allocations: 250.5 kB / 1.087 GB, free: 28.77 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001761/2.144, allocations: 133.3 kB / 1.087 GB, free: 28.64 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007381/2.145, allocations: 1.121 MB / 1.088 GB, free: 27.26 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003167/2.145, allocations: 249.2 kB / 1.088 GB, free: 26.99 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=30): time 8.856e-06/2.145, allocations: 112 / 1.088 GB, free: 26.99 MB / 0.5261 GB Notification: Performance of matching and sorting (n=38): time 0.01951/2.165, allocations: 2.197 MB / 1.09 GB, free: 24.68 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.003e-05/2.165, allocations: 221.9 kB / 1.091 GB, free: 24.41 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006066/2.165, allocations: 382 kB / 1.091 GB, free: 24.03 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.687e-05/2.165, allocations: 29.7 kB / 1.091 GB, free: 24 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002805/2.166, allocations: 327.5 kB / 1.091 GB, free: 23.67 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/2.166, allocations: 126.1 kB / 1.091 GB, free: 23.55 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.599e-05/2.166, allocations: 0 / 1.091 GB, free: 23.55 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001318/2.166, allocations: 374.7 kB / 1.092 GB, free: 23.17 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001958/2.166, allocations: 125.1 kB / 1.092 GB, free: 23.05 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002942/2.167, allocations: 321.1 kB / 1.092 GB, free: 22.65 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006569/2.167, allocations: 218 kB / 1.092 GB, free: 22.44 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/2.167, allocations: 8 kB / 1.092 GB, free: 22.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001292/2.169, allocations: 0.5844 MB / 1.093 GB, free: 21.84 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005322/2.169, allocations: 1.692 MB / 1.095 GB, free: 20.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.003e-05/2.169, allocations: 12 kB / 1.095 GB, free: 20 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003789/2.17, allocations: 113.7 kB / 1.095 GB, free: 19.88 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000315/2.17, allocations: 87.83 kB / 1.095 GB, free: 19.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001184/2.171, allocations: 1.261 MB / 1.096 GB, free: 18.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006389/2.172, allocations: 36.05 kB / 1.096 GB, free: 18.45 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.482e-05/2.172, allocations: 24 kB / 1.096 GB, free: 18.42 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/2.172, allocations: 4 kB / 1.096 GB, free: 18.42 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001066/2.173, allocations: 0.6637 MB / 1.097 GB, free: 17.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/2.173, allocations: 4 kB / 1.097 GB, free: 17.71 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001851/2.173, allocations: 81.69 kB / 1.097 GB, free: 17.62 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002811/2.173, allocations: 84.14 kB / 1.097 GB, free: 17.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002237/2.176, allocations: 3.101 MB / 1.1 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004965/2.176, allocations: 27.97 kB / 1.1 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.51e-05/2.176, allocations: 20.09 kB / 1.1 GB, free: 14.14 MB / 0.5261 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.res1.dp:DUMMY_DER(fixed = false ) "Pressure difference between port_a and port_b" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 42 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002652/2.177, allocations: 162.5 kB / 1.1 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001573/2.177, allocations: 63.3 kB / 1.1 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001263/2.178, allocations: 0.527 MB / 1.101 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/2.178, allocations: 3.938 kB / 1.101 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/2.178, allocations: 7.938 kB / 1.101 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/2.178, allocations: 0 / 1.101 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001785/2.18, allocations: 1.032 MB / 1.102 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/2.18, allocations: 0 / 1.102 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002319/2.18, allocations: 51.97 kB / 1.102 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002214/2.18, allocations: 85.56 kB / 1.102 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.252e-05/2.18, allocations: 11.98 kB / 1.102 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00079/2.181, allocations: 1.167 MB / 1.103 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/2.181, allocations: 3.953 kB / 1.103 GB, free: 10.9 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001211/2.182, allocations: 0.7428 MB / 1.104 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002837/2.183, allocations: 176.4 kB / 1.104 GB, free: 9.945 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001168/2.183, allocations: 0 / 1.104 GB, free: 9.945 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003745/2.183, allocations: 32.03 kB / 1.104 GB, free: 9.914 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.102e-05/2.183, allocations: 23.94 kB / 1.104 GB, free: 9.891 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.391e-05/2.183, allocations: 15.98 kB / 1.104 GB, free: 9.875 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003292/2.184, allocations: 294.9 kB / 1.104 GB, free: 9.59 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/2.184, allocations: 0 / 1.104 GB, free: 9.59 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001955/2.186, allocations: 467.6 kB / 1.105 GB, free: 9.133 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (dyn.medium.T) * Number of discrete variables: 5 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent) * Number of discrete states: 5 (QSen_flow.last,QSen_flow.nextEvent,QSen_flow.b,QSen_flow.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.00157/2.187, allocations: 0.5314 MB / 1.105 GB, free: 8.602 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001655/2.189, allocations: 0.9708 MB / 1.106 GB, free: 7.586 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/2.189, allocations: 0 / 1.106 GB, free: 7.586 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003394/2.189, allocations: 255.1 kB / 1.106 GB, free: 7.324 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/2.19, allocations: 196.3 kB / 1.107 GB, free: 7.137 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001598/2.192, allocations: 0.721 MB / 1.107 GB, free: 6.391 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003963/2.192, allocations: 0.9078 MB / 1.108 GB, free: 5.453 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007769/2.193, allocations: 168.4 kB / 1.108 GB, free: 5.289 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.907e-05/2.193, allocations: 39.42 kB / 1.108 GB, free: 5.25 MB / 0.5261 GB Notification: Performance of SimCode: time 9.71e-07/2.193, allocations: 0 / 1.108 GB, free: 5.25 MB / 0.5261 GB Notification: Performance of Templates: time 0.3738/2.567, allocations: 14.26 MB / 1.122 GB, free: 123 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ConservationEquation.makefile (rm -f Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ConservationEquation.sim & ./Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)