Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.703/1.703, allocations: 288.4 MB / 304.3 MB, free: 8.098 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.00107/0.00107, allocations: 179.2 kB / 372.9 MB, free: 10.16 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.337/1.337, allocations: 205.4 MB / 0.6316 GB, free: 9.914 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.0007671/0.0007671, allocations: 88.23 kB / 0.745 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000386/0.000386, allocations: 15.31 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1851/0.1855, allocations: 115.3 MB / 0.9807 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified4): time 0.6681/0.8536, allocations: 329.6 MB / 1.303 GB, free: 4.652 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.1002/0.9539, allocations: 72.93 MB / 1.374 GB, free: 11.59 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01442/0.9684, allocations: 373.2 kB / 1.374 GB, free: 11.22 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.01362/0.982, allocations: 3.7 MB / 1.378 GB, free: 7.496 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.03527/1.017, allocations: 11.05 MB / 1.389 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0225/1.04, allocations: 7.091 MB / 1.395 GB, free: 5.332 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 1.003/2.043, allocations: 38.6 MB / 1.433 GB, free: 50.07 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02985/2.073, allocations: 15.94 MB / 1.449 GB, free: 48.36 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03762/2.111, allocations: 13.18 MB / 1.462 GB, free: 48.32 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03107/2.142, allocations: 13.51 MB / 1.475 GB, free: 48.29 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.007864/2.15, allocations: 0.9939 MB / 1.476 GB, free: 48.29 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02064/2.171, allocations: 4.642 MB / 1.48 GB, free: 48.2 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.01073/2.181, allocations: 4.251 MB / 1.484 GB, free: 48.2 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.02312/2.205, allocations: 8.096 MB / 1.492 GB, free: 48.16 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.02842/2.233, allocations: 19.5 MB / 1.511 GB, free: 46.81 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/2.233, allocations: 12.23 kB / 1.511 GB, free: 46.81 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.615e-06/2.233, allocations: 0 / 1.511 GB, free: 46.81 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0009152/2.234, allocations: 0 / 1.511 GB, free: 46.81 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: 1775 * Number of variables: 1775 Notification: Performance of Generate backend data structure: time 0.04687/2.281, allocations: 18.01 MB / 1.529 GB, free: 39.46 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/2.281, allocations: 14.09 kB / 1.529 GB, free: 39.46 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01217/2.293, allocations: 2.297 MB / 1.531 GB, free: 38.35 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03127/2.324, allocations: 13.94 MB / 1.545 GB, free: 33.15 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001248/2.326, allocations: 0.7267 MB / 1.546 GB, free: 33.09 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004636/2.33, allocations: 0.7888 MB / 1.546 GB, free: 33.08 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03643/2.367, allocations: 14.9 MB / 1.561 GB, free: 28.54 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004151/2.367, allocations: 10.66 kB / 1.561 GB, free: 28.54 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003768/2.371, allocations: 287.5 kB / 1.561 GB, free: 28.54 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001971/2.371, allocations: 186 kB / 1.561 GB, free: 28.54 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03476/2.406, allocations: 19.37 MB / 1.58 GB, free: 23.45 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.1275/2.534, allocations: 77.56 MB / 1.656 GB, free: 6.062 MB / 0.9949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01693/2.551, allocations: 10.61 MB / 1.666 GB, free: 180 kB / 0.9949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01352/2.564, allocations: 9.136 MB / 1.675 GB, free: 10.84 MB / 1.011 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.06705/2.631, allocations: 32.74 MB / 1.707 GB, free: 1.438 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01307/2.644, allocations: 8.848 MB / 1.716 GB, free: 11.5 MB / 1.042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02944/2.674, allocations: 9.846 MB / 1.726 GB, free: 2.328 MB / 1.042 GB Notification: Performance of pre-optimization done (n=421): time 3.684e-05/2.674, allocations: 0 / 1.726 GB, free: 2.328 MB / 1.042 GB Notification: Performance of matching and sorting (n=605): time 1.265/3.939, allocations: 197.6 MB / 1.919 GB, free: 476.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.518e-05/3.939, allocations: 117.9 kB / 1.919 GB, free: 476 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01534/3.955, allocations: 13.02 MB / 1.931 GB, free: 469.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.002798/3.957, allocations: 183.4 kB / 1.932 GB, free: 469.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.004532/3.962, allocations: 6.59 MB / 1.938 GB, free: 465 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.00337/3.965, allocations: 2.044 MB / 1.94 GB, free: 464.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009317/3.966, allocations: 155.9 kB / 1.94 GB, free: 464.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0002601/3.967, allocations: 0.6121 MB / 1.941 GB, free: 463.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01393/3.981, allocations: 9.362 MB / 1.95 GB, free: 458.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01552/3.996, allocations: 11.88 MB / 1.961 GB, free: 446.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03304/4.029, allocations: 20.91 MB / 1.982 GB, free: 424.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.942e-05/4.029, allocations: 16 kB / 1.982 GB, free: 424.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=1029) (initialization): time 0.5877/4.617, allocations: 124 MB / 2.103 GB, free: 300.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006522/4.618, allocations: 1.737 MB / 2.105 GB, free: 298.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-05/4.618, allocations: 52 kB / 2.105 GB, free: 298.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6229/5.241, allocations: 143.5 MB / 2.245 GB, free: 154.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01057/5.251, allocations: 2.063 MB / 2.247 GB, free: 152.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1257/5.377, allocations: 78.76 MB / 2.324 GB, free: 73.51 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01781/5.395, allocations: 1.252 MB / 2.325 GB, free: 72.27 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003492/5.398, allocations: 0.7802 MB / 2.326 GB, free: 71.49 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/5.398, allocations: 5.406 kB / 2.326 GB, free: 71.48 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.9707/6.369, allocations: 122.8 MB / 2.446 GB, free: 458.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000114/6.369, allocations: 53.47 kB / 2.446 GB, free: 458.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.631/7, allocations: 143.3 MB / 2.586 GB, free: 338.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01005/7.01, allocations: 2.042 MB / 2.588 GB, free: 336.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1363/7.147, allocations: 82.71 MB / 2.668 GB, free: 253.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01701/7.164, allocations: 1.235 MB / 2.67 GB, free: 252.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003293/7.167, allocations: 0.7529 MB / 2.67 GB, free: 251.3 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 237 * 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 (769): * Single equations (assignments): 755 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * 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.008639/7.176, allocations: 3.339 MB / 2.674 GB, free: 248 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003284/7.179, allocations: 1.277 MB / 2.675 GB, free: 247.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.187/7.366, allocations: 49.31 MB / 2.723 GB, free: 198.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1775/7.543, allocations: 43.72 MB / 2.766 GB, free: 154.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-05/7.543, allocations: 0 / 2.766 GB, free: 154.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009108/7.553, allocations: 2.851 MB / 2.768 GB, free: 152.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003657/7.556, allocations: 124 kB / 2.769 GB, free: 152.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01275/7.569, allocations: 1.073 MB / 2.77 GB, free: 151.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004177/7.573, allocations: 0.9103 MB / 2.771 GB, free: 150.2 MB / 1.151 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.05748/7.631, allocations: 23.16 MB / 2.793 GB, free: 127.3 MB / 1.151 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.04121/7.672, allocations: 25.58 MB / 2.818 GB, free: 101.8 MB / 1.151 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0128/7.685, allocations: 7.983 MB / 2.826 GB, free: 93.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.01441/7.699, allocations: 8.802 MB / 2.834 GB, free: 85.07 MB / 1.151 GB Notification: Performance of Backend: time 9.51e-07/7.699, allocations: 3.938 kB / 2.835 GB, free: 85.06 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.08079/7.78, allocations: 32.14 MB / 2.866 GB, free: 53.21 MB / 1.151 GB Notification: Performance of SimCode: time 0.5014/8.282, allocations: 35.04 MB / 2.9 GB, free: 465.4 MB / 1.151 GB Notification: Performance of Templates: time 0.5276/8.809, allocations: 413.8 MB / 3.304 GB, free: 132.9 MB / 1.151 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe 2>&1)