Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1") translateModel(Buildings.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008274/0.0008275, allocations: 90.52 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006123/0.006123, allocations: 171.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.458/1.458, allocations: 205.4 MB / 222.5 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.563/1.563, allocations: 252 MB / 0.5105 GB, free: 4.637 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005447/0.0005448, allocations: 16 kB / 0.6249 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4903/0.4909, allocations: 106.3 MB / 0.7287 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v1): time 0.0655/0.5564, allocations: 70.78 MB / 0.7978 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0373/0.5938, allocations: 20.29 MB / 0.8176 GB, free: 15.92 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005792/0.5996, allocations: 83.38 kB / 0.8177 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003578/0.6032, allocations: 0.8589 MB / 0.8186 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.007126/0.6104, allocations: 2.169 MB / 0.8207 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006192/0.6166, allocations: 1.864 MB / 0.8225 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01187/0.6285, allocations: 10.57 MB / 0.8328 GB, free: 360 kB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007305/0.6358, allocations: 5.56 MB / 0.8383 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005887/0.6417, allocations: 2.781 MB / 0.841 GB, free: 7.938 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004536/0.6463, allocations: 2.403 MB / 0.8433 GB, free: 5.523 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0008602/0.6472, allocations: 124 kB / 0.8434 GB, free: 5.402 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003851/0.651, allocations: 1.225 MB / 0.8446 GB, free: 4.176 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001203/0.6523, allocations: 0.6104 MB / 0.8452 GB, free: 3.562 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.003947/0.6562, allocations: 1.614 MB / 0.8468 GB, free: 1.934 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.008029/0.6643, allocations: 4.477 MB / 0.8512 GB, free: 13.44 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.6643, allocations: 0 / 0.8512 GB, free: 13.44 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.084e-06/0.6643, allocations: 0 / 0.8512 GB, free: 13.44 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001824/0.6645, allocations: 0 / 0.8512 GB, free: 13.44 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.008925/0.6734, allocations: 3.796 MB / 0.8549 GB, free: 9.566 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.6735, allocations: 8.031 kB / 0.8549 GB, free: 9.559 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002601/0.6761, allocations: 0.566 MB / 0.8554 GB, free: 8.988 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005322/0.6814, allocations: 2.639 MB / 0.858 GB, free: 6.285 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001157/0.6816, allocations: 143.8 kB / 0.8582 GB, free: 6.145 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002932/0.6819, allocations: 184 kB / 0.8583 GB, free: 5.965 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003729/0.6856, allocations: 2.323 MB / 0.8606 GB, free: 3.504 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.011e-05/0.6857, allocations: 11.92 kB / 0.8606 GB, free: 3.492 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001693/0.6858, allocations: 67.94 kB / 0.8607 GB, free: 3.426 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.223e-05/0.6859, allocations: 40 kB / 0.8607 GB, free: 3.387 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003359/0.6892, allocations: 1.9 MB / 0.8626 GB, free: 1.48 MB / 0.67 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.01327/0.7025, allocations: 11.65 MB / 0.874 GB, free: 5.211 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00257/0.7051, allocations: 1.374 MB / 0.8753 GB, free: 3.836 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001539/0.7067, allocations: 1.021 MB / 0.8763 GB, free: 2.809 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005684/0.7124, allocations: 3.748 MB / 0.88 GB, free: 14.79 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001368/0.7137, allocations: 0.7974 MB / 0.8807 GB, free: 13.98 MB / 0.7012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001423/0.7152, allocations: 446.6 kB / 0.8812 GB, free: 13.55 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=96): time 2.665e-06/0.7152, allocations: 0 / 0.8812 GB, free: 13.55 MB / 0.7012 GB Notification: Performance of matching and sorting (n=96): time 0.01161/0.7268, allocations: 4.191 MB / 0.8852 GB, free: 9.301 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.871e-05/0.7269, allocations: 64.41 kB / 0.8853 GB, free: 9.227 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003808/0.7307, allocations: 2.85 MB / 0.8881 GB, free: 6.375 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001794/0.7309, allocations: 57.7 kB / 0.8881 GB, free: 6.312 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001144/0.7321, allocations: 1.419 MB / 0.8895 GB, free: 4.883 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002911/0.7324, allocations: 339.2 kB / 0.8899 GB, free: 4.547 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001665/0.7325, allocations: 125.6 kB / 0.89 GB, free: 4.418 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 9.246e-05/0.7326, allocations: 305.1 kB / 0.8903 GB, free: 4.117 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00124/0.7339, allocations: 0.6636 MB / 0.8909 GB, free: 3.453 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001663/0.7356, allocations: 1.422 MB / 0.8923 GB, free: 1.691 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002747/0.7383, allocations: 1.889 MB / 0.8942 GB, free: 15.6 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.306e-06/0.7383, allocations: 4 kB / 0.8942 GB, free: 15.59 MB / 0.7169 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.005527/0.7439, allocations: 2.807 MB / 0.8969 GB, free: 12.77 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003585/0.7442, allocations: 0.542 MB / 0.8974 GB, free: 12.01 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.825e-05/0.7443, allocations: 16 kB / 0.8974 GB, free: 12 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00234/0.7466, allocations: 0.6921 MB / 0.8981 GB, free: 11.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/0.7478, allocations: 293.2 kB / 0.8984 GB, free: 11.01 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001791/0.7496, allocations: 1.9 MB / 0.9003 GB, free: 9.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001985/0.7516, allocations: 176.8 kB / 0.9004 GB, free: 8.887 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001319/0.7517, allocations: 76.05 kB / 0.9005 GB, free: 8.812 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.427e-06/0.7517, allocations: 7.938 kB / 0.9005 GB, free: 8.805 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003848/0.7556, allocations: 2.362 MB / 0.9028 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/0.7556, allocations: 16 kB / 0.9028 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008802/0.7565, allocations: 461.7 kB / 0.9033 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/0.7575, allocations: 293.2 kB / 0.9035 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3901/1.148, allocations: 5.851 MB / 0.9093 GB, free: 168.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002172/1.15, allocations: 177.2 kB / 0.9094 GB, free: 168.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001667/1.15, allocations: 70.09 kB / 0.9095 GB, free: 168.4 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,from_dp.y,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 129 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,40), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.001562/1.152, allocations: 0.8247 MB / 0.9103 GB, free: 168.3 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004526/1.152, allocations: 295.8 kB / 0.9106 GB, free: 168.3 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004804/1.157, allocations: 2.303 MB / 0.9128 GB, free: 168.1 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.008e-05/1.157, allocations: 12.72 kB / 0.9128 GB, free: 168.1 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/1.157, allocations: 1.688 kB / 0.9128 GB, free: 168.1 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003484/1.16, allocations: 2.019 MB / 0.9148 GB, free: 167.5 MB / 0.7169 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 postOpt removeSimpleEquations (simulation): time 0.008445/1.169, allocations: 4.35 MB / 0.9191 GB, free: 165.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.866e-06/1.169, allocations: 3.719 kB / 0.9191 GB, free: 165.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008386/1.17, allocations: 145.9 kB / 0.9192 GB, free: 165.7 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001069/1.171, allocations: 475.1 kB / 0.9197 GB, free: 165.5 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.001e-05/1.171, allocations: 25.47 kB / 0.9197 GB, free: 165.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001398/1.172, allocations: 1.861 MB / 0.9215 GB, free: 164.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/1.172, allocations: 0 / 0.9215 GB, free: 164.2 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00533/1.178, allocations: 3.07 MB / 0.9245 GB, free: 163.1 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00116/1.179, allocations: 0.5034 MB / 0.925 GB, free: 162.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003016/1.179, allocations: 23.52 kB / 0.925 GB, free: 162.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001235/1.18, allocations: 148.1 kB / 0.9252 GB, free: 162.8 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001503/1.181, allocations: 64.25 kB / 0.9252 GB, free: 162.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.022e-05/1.181, allocations: 38.39 kB / 0.9253 GB, free: 162.8 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002291/1.183, allocations: 1.941 MB / 0.9271 GB, free: 162.1 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.2e-07/1.183, allocations: 0 / 0.9271 GB, free: 162.1 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003496/1.187, allocations: 1.348 MB / 0.9285 GB, free: 162 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,5), (1,40)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009313/1.187, allocations: 454.5 kB / 0.9289 GB, free: 161.9 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.005009/1.192, allocations: 3.126 MB / 0.9319 GB, free: 160.6 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/1.193, allocations: 3.969 kB / 0.932 GB, free: 160.6 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001293/1.194, allocations: 0.7543 MB / 0.9327 GB, free: 160.3 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005573/1.199, allocations: 1.199 MB / 0.9339 GB, free: 159.8 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007444/1.207, allocations: 6.088 MB / 0.9398 GB, free: 154.2 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001078/1.208, allocations: 2.036 MB / 0.9418 GB, free: 152.1 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002559/1.211, allocations: 0.7216 MB / 0.9425 GB, free: 151.4 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004046/1.211, allocations: 191.4 kB / 0.9427 GB, free: 151.2 MB / 0.7169 GB Notification: Performance of SimCode: time 7.42e-07/1.211, allocations: 0 / 0.9427 GB, free: 151.2 MB / 0.7169 GB Notification: Performance of Templates: time 0.0748/1.286, allocations: 51.41 MB / 0.9929 GB, free: 100.6 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1) Environment - environmentSimulation: