Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.657/1.657, allocations: 287.4 MB / 303.2 MB, free: 8.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009698/0.0009698, allocations: 185.9 kB / 371.8 MB, free: 10.81 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.327/1.327, allocations: 205.4 MB / 0.6305 GB, free: 10.53 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008187/0.0008187, allocations: 85.66 kB / 0.7438 GB, free: 6.527 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003759/0.0003759, allocations: 10.58 kB / 0.8667 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1804/0.1807, allocations: 115.3 MB / 0.9793 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 0.6858/0.8666, allocations: 329.5 MB / 1.301 GB, free: 5.961 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.1036/0.9702, allocations: 72.94 MB / 1.372 GB, free: 12.89 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01407/0.9843, allocations: 373.2 kB / 1.373 GB, free: 12.52 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.01448/0.9988, allocations: 3.96 MB / 1.377 GB, free: 8.539 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.03305/1.032, allocations: 10.66 MB / 1.387 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.02743/1.059, allocations: 9.829 MB / 1.397 GB, free: 4.137 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.953/2.012, allocations: 42.74 MB / 1.438 GB, free: 50.29 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03041/2.043, allocations: 17.42 MB / 1.455 GB, free: 48.44 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03405/2.077, allocations: 13.99 MB / 1.469 GB, free: 48.41 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03015/2.107, allocations: 14.63 MB / 1.483 GB, free: 48.38 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.007853/2.115, allocations: 1.063 MB / 1.484 GB, free: 48.38 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01915/2.134, allocations: 3.719 MB / 1.488 GB, free: 48.33 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.01082/2.145, allocations: 4.904 MB / 1.493 GB, free: 48.33 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.01062/2.156, allocations: 3.382 MB / 1.496 GB, free: 48.29 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.02784/2.183, allocations: 22.17 MB / 1.518 GB, free: 46.77 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/2.183, allocations: 0 / 1.518 GB, free: 46.77 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.914e-06/2.184, allocations: 0 / 1.518 GB, free: 46.77 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.001015/2.185, allocations: 0 / 1.518 GB, free: 46.77 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2061 * Number of variables: 2061 Notification: Performance of Generate backend data structure: time 0.05003/2.235, allocations: 20.48 MB / 1.538 GB, free: 36.62 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/2.235, allocations: 10.56 kB / 1.538 GB, free: 36.62 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01141/2.246, allocations: 2.377 MB / 1.54 GB, free: 35.44 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03258/2.279, allocations: 15.73 MB / 1.555 GB, free: 29.58 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006578/2.279, allocations: 0.7151 MB / 1.556 GB, free: 29.56 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004751/2.284, allocations: 0.9943 MB / 1.557 GB, free: 29.53 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03145/2.316, allocations: 17.23 MB / 1.574 GB, free: 23.72 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001657/2.316, allocations: 10.28 kB / 1.574 GB, free: 23.72 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001398/2.317, allocations: 358.8 kB / 1.574 GB, free: 23.72 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001391/2.317, allocations: 210.9 kB / 1.574 GB, free: 23.72 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03058/2.348, allocations: 20.54 MB / 1.594 GB, free: 12.18 MB / 0.948 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.1387/2.487, allocations: 82.72 MB / 1.675 GB, free: 7.059 MB / 1.011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0189/2.506, allocations: 12.34 MB / 1.687 GB, free: 15.83 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0144/2.52, allocations: 9.815 MB / 1.697 GB, free: 10.02 MB / 1.026 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 evalFunc (simulation): time 0.075/2.595, allocations: 35.34 MB / 1.731 GB, free: 14.79 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01581/2.611, allocations: 9.687 MB / 1.741 GB, free: 8.207 MB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02958/2.64, allocations: 9.992 MB / 1.751 GB, free: 14.93 MB / 1.073 GB Notification: Performance of pre-optimization done (n=555): time 3.308e-05/2.641, allocations: 4 kB / 1.751 GB, free: 14.93 MB / 1.073 GB Notification: Performance of matching and sorting (n=764): time 1.653/4.293, allocations: 204.3 MB / 1.95 GB, free: 453.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004779/4.294, allocations: 2.58 MB / 1.953 GB, free: 450.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02101/4.315, allocations: 15.45 MB / 1.968 GB, free: 435.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.003585/4.319, allocations: 245.6 kB / 1.968 GB, free: 435.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.006297/4.325, allocations: 7.798 MB / 1.976 GB, free: 429 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.004442/4.329, allocations: 2.667 MB / 1.978 GB, free: 428 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001395/4.331, allocations: 201.9 kB / 1.978 GB, free: 427.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0004492/4.331, allocations: 0.7408 MB / 1.979 GB, free: 427.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01669/4.348, allocations: 11.02 MB / 1.99 GB, free: 416.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01945/4.367, allocations: 14.44 MB / 2.004 GB, free: 400.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03866/4.406, allocations: 24.27 MB / 2.028 GB, free: 375.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.856e-05/4.406, allocations: 16 kB / 2.028 GB, free: 375.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=1386) (initialization): time 0.5824/4.989, allocations: 128.1 MB / 2.153 GB, free: 247.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007777/4.989, allocations: 1.795 MB / 2.155 GB, free: 244.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002198/4.99, allocations: 103.9 kB / 2.155 GB, free: 244.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6194/5.609, allocations: 143.5 MB / 2.295 GB, free: 100.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01393/5.623, allocations: 2.726 MB / 2.297 GB, free: 98.13 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5872/6.21, allocations: 78.74 MB / 2.374 GB, free: 458.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02171/6.232, allocations: 1.411 MB / 2.376 GB, free: 458.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00535/6.237, allocations: 0.8615 MB / 2.377 GB, free: 458.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/6.237, allocations: 6.453 kB / 2.377 GB, free: 458.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5973/6.835, allocations: 126.7 MB / 2.5 GB, free: 422.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003873/6.835, allocations: 107.9 kB / 2.5 GB, free: 422 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6074/7.443, allocations: 143.3 MB / 2.64 GB, free: 278.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01308/7.456, allocations: 2.709 MB / 2.643 GB, free: 275.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1516/7.607, allocations: 82.75 MB / 2.724 GB, free: 192.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0187/7.626, allocations: 1.385 MB / 2.725 GB, free: 191.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003891/7.63, allocations: 0.8338 MB / 2.726 GB, free: 190.7 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 241 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,stepPump.y,$PRE.stepPump.pulseStart,stepPump.pulseStart,pumpHea.stage,$PRE.stepValve.T_start,stepValve.T_start,$PRE.stepValve.count,stepValve.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1062): * Single equations (assignments): 984 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(28,89.3%) 28} * Non-linear torn systems: 2 {5 80,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.01319/7.643, allocations: 4.247 MB / 2.73 GB, free: 186.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005893/7.649, allocations: 1.534 MB / 2.732 GB, free: 185.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1959/7.845, allocations: 51.59 MB / 2.782 GB, free: 134.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1811/8.026, allocations: 45.65 MB / 2.827 GB, free: 88.52 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.448e-05/8.026, allocations: 0 / 2.827 GB, free: 88.52 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0106/8.037, allocations: 3.345 MB / 2.83 GB, free: 86.02 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005943/8.043, allocations: 267.8 kB / 2.83 GB, free: 85.76 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0154/8.058, allocations: 1.212 MB / 2.831 GB, free: 84.59 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004837/8.063, allocations: 0.9897 MB / 2.832 GB, free: 83.6 MB / 1.151 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.06733/8.13, allocations: 26.75 MB / 2.858 GB, free: 57.21 MB / 1.151 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.05072/8.181, allocations: 29.99 MB / 2.888 GB, free: 27.38 MB / 1.151 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.4309/8.612, allocations: 9.372 MB / 2.897 GB, free: 462.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.02389/8.636, allocations: 10.46 MB / 2.907 GB, free: 461.7 MB / 1.151 GB Notification: Performance of Backend: time 1.152e-06/8.636, allocations: 0 / 2.907 GB, free: 461.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.096/8.732, allocations: 38.25 MB / 2.944 GB, free: 448.5 MB / 1.151 GB Notification: Performance of SimCode: time 0.07352/8.806, allocations: 42.51 MB / 2.986 GB, free: 429.9 MB / 1.151 GB Notification: Performance of Templates: time 0.9295/9.735, allocations: 461.6 MB / 3.437 GB, free: 466.1 MB / 1.151 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1)