Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified4.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified4") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 110.4 kB / 16.42 MB, free: 6.512 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.001247/0.001248, allocations: 185.5 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.179/2.179, allocations: 390.3 MB / 0.6655 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 71.89 kB / 0.9516 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7114/0.7128, allocations: 140.4 MB / 1.089 GB, free: 5.574 MB / 0.8575 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pmpSouth.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pmpNorth.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pumpHea.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pumpCoo.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified4): time 0.3554/1.068, allocations: 355.7 MB / 1.436 GB, free: 9.574 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.1013/1.17, allocations: 72.94 MB / 1.507 GB, free: 452 kB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01388/1.184, allocations: 429.5 kB / 1.508 GB, free: 20 kB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.01432/1.198, allocations: 5.354 MB / 1.513 GB, free: 10.64 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.03494/1.233, allocations: 13.71 MB / 1.526 GB, free: 12.88 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.02183/1.255, allocations: 9.432 MB / 1.536 GB, free: 3.516 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.04595/1.301, allocations: 34.37 MB / 1.569 GB, free: 1.043 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 1.233/2.533, allocations: 18.39 MB / 1.587 GB, free: 77.62 MB / 1.311 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03433/2.568, allocations: 15.99 MB / 1.603 GB, free: 77.62 MB / 1.311 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02917/2.597, allocations: 14.56 MB / 1.617 GB, free: 76.05 MB / 1.311 GB Notification: Performance of NFPackage.collectConstants: time 0.009129/2.606, allocations: 1.655 MB / 1.618 GB, free: 76.05 MB / 1.311 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02189/2.628, allocations: 5.664 MB / 1.624 GB, free: 76.05 MB / 1.311 GB Notification: Performance of NFScalarize.scalarize: time 0.01025/2.638, allocations: 5.118 MB / 1.629 GB, free: 75.45 MB / 1.311 GB Notification: Performance of NFVerifyModel.verify: time 0.023/2.661, allocations: 9.365 MB / 1.638 GB, free: 73.05 MB / 1.311 GB Notification: Performance of NFConvertDAE.convert: time 0.03878/2.7, allocations: 26.12 MB / 1.664 GB, free: 70.38 MB / 1.311 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/2.7, allocations: 0.5 kB / 1.664 GB, free: 70.38 MB / 1.311 GB Notification: Performance of FrontEnd: time 1.432e-06/2.7, allocations: 0.875 kB / 1.664 GB, free: 70.38 MB / 1.311 GB Notification: Performance of Transformations before backend: time 0.0007146/2.701, allocations: 2.438 kB / 1.664 GB, free: 70.38 MB / 1.311 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.05323/2.754, allocations: 19.83 MB / 1.683 GB, free: 63.26 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/2.754, allocations: 8.281 kB / 1.683 GB, free: 63.26 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01473/2.769, allocations: 2.579 MB / 1.686 GB, free: 62.34 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03179/2.801, allocations: 14.41 MB / 1.7 GB, free: 59.79 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007099/2.802, allocations: 0.5905 MB / 1.7 GB, free: 59.77 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004725/2.806, allocations: 0.7819 MB / 1.701 GB, free: 59.77 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03182/2.838, allocations: 15.02 MB / 1.716 GB, free: 58.61 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001794/2.838, allocations: 26.47 kB / 1.716 GB, free: 58.6 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002173/2.841, allocations: 284.1 kB / 1.716 GB, free: 58.6 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001396/2.841, allocations: 184.2 kB / 1.716 GB, free: 58.6 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03244/2.873, allocations: 19.49 MB / 1.735 GB, free: 55.79 MB / 1.311 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.1129/2.986, allocations: 76.69 MB / 1.81 GB, free: 360 kB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01745/3.004, allocations: 10.67 MB / 1.82 GB, free: 9.449 MB / 1.326 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01436/3.018, allocations: 9.141 MB / 1.829 GB, free: 312 kB / 1.326 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.06989/3.088, allocations: 31.55 MB / 1.86 GB, free: 460 kB / 1.358 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01589/3.104, allocations: 8.896 MB / 1.869 GB, free: 7.523 MB / 1.373 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02047/3.124, allocations: 5.685 MB / 1.874 GB, free: 1.996 MB / 1.373 GB Notification: Performance of pre-optimization done (n=417): time 2.169e-05/3.124, allocations: 0 / 1.874 GB, free: 1.996 MB / 1.373 GB Notification: Performance of matching and sorting (n=601): time 0.9257/4.05, allocations: 184.9 MB / 2.055 GB, free: 8.484 MB / 1.561 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.81e-05/4.05, allocations: 116.1 kB / 2.055 GB, free: 8.355 MB / 1.561 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02572/4.076, allocations: 13.44 MB / 2.068 GB, free: 11.01 MB / 1.576 GB Notification: Performance of collectPreVariables (initialization): time 0.003463/4.079, allocations: 177.1 kB / 2.068 GB, free: 10.84 MB / 1.576 GB Notification: Performance of collectInitialEqns (initialization): time 0.009425/4.089, allocations: 6.514 MB / 2.075 GB, free: 4.316 MB / 1.576 GB Notification: Performance of collectInitialBindings (initialization): time 0.005101/4.094, allocations: 2.028 MB / 2.077 GB, free: 2.305 MB / 1.576 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008897/4.103, allocations: 2.478 MB / 2.079 GB, free: 15.82 MB / 1.592 GB Notification: Performance of setup shared object (initialization): time 8.562e-05/4.103, allocations: 309.1 kB / 2.079 GB, free: 15.52 MB / 1.592 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01926/4.122, allocations: 10.14 MB / 2.089 GB, free: 5.359 MB / 1.592 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02173/4.144, allocations: 12.55 MB / 2.102 GB, free: 7.832 MB / 1.608 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0427/4.187, allocations: 22.35 MB / 2.123 GB, free: 0.9023 MB / 1.623 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.839e-05/4.187, allocations: 16 kB / 2.123 GB, free: 0.8867 MB / 1.623 GB Notification: Performance of matching and sorting (n=1025) (initialization): time 1.285/5.472, allocations: 112.7 MB / 2.233 GB, free: 438.9 MB / 1.67 GB Notification: Performance of prepare postOptimizeDAE: time 7.645e-05/5.472, allocations: 58.98 kB / 2.234 GB, free: 438.9 MB / 1.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.08e-05/5.472, allocations: 54.38 kB / 2.234 GB, free: 438.9 MB / 1.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6085/6.081, allocations: 117.9 MB / 2.349 GB, free: 371.5 MB / 1.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01137/6.092, allocations: 2.067 MB / 2.351 GB, free: 369.6 MB / 1.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.14/6.232, allocations: 81.51 MB / 2.43 GB, free: 308.8 MB / 1.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01774/6.25, allocations: 0.851 MB / 2.431 GB, free: 308.1 MB / 1.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003784/6.254, allocations: 0.7854 MB / 2.432 GB, free: 307.4 MB / 1.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02354/6.277, allocations: 12.61 MB / 2.444 GB, free: 299.3 MB / 1.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01844/6.296, allocations: 12.09 MB / 2.456 GB, free: 289.8 MB / 1.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03606/6.332, allocations: 21.47 MB / 2.477 GB, free: 271.3 MB / 1.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.545e-05/6.332, allocations: 16 kB / 2.477 GB, free: 271.3 MB / 1.67 GB Notification: Performance of matching and sorting (n=1025) (initialization_lambda0): time 0.5792/6.911, allocations: 111.2 MB / 2.586 GB, free: 161.3 MB / 1.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001037/6.911, allocations: 58.31 kB / 2.586 GB, free: 161.3 MB / 1.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.076e-05/6.912, allocations: 54.06 kB / 2.586 GB, free: 161.2 MB / 1.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5967/7.508, allocations: 117.6 MB / 2.701 GB, free: 43.92 MB / 1.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01022/7.518, allocations: 2.055 MB / 2.703 GB, free: 41.95 MB / 1.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.8862/8.405, allocations: 86.05 MB / 2.787 GB, free: 432.8 MB / 1.686 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01769/8.422, allocations: 0.8746 MB / 2.788 GB, free: 432.8 MB / 1.686 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003573/8.426, allocations: 0.7507 MB / 2.788 GB, free: 432.8 MB / 1.686 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,stepValve.count,$PRE.stepValve.count,stepValve.T_start,$PRE.stepValve.T_start,pumpHea.stage,stepPump.pulseStart,$PRE.stepPump.pulseStart,stepPump.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (765): * Single equations (assignments): 751 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,80), (5,80)} Notification: Performance of prepare postOptimizeDAE: time 0.003218/8.429, allocations: 0.6328 MB / 2.789 GB, free: 432.6 MB / 1.686 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005007/8.434, allocations: 1.291 MB / 2.79 GB, free: 432.6 MB / 1.686 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2066/8.641, allocations: 48.47 MB / 2.837 GB, free: 431.7 MB / 1.686 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1899/8.831, allocations: 42.86 MB / 2.879 GB, free: 429.3 MB / 1.686 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.115e-05/8.831, allocations: 0 / 2.879 GB, free: 429.3 MB / 1.686 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008371/8.839, allocations: 2.681 MB / 2.882 GB, free: 429.2 MB / 1.686 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004067/8.843, allocations: 123 kB / 2.882 GB, free: 429.2 MB / 1.686 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01236/8.856, allocations: 0.6992 MB / 2.883 GB, free: 429.2 MB / 1.686 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00455/8.86, allocations: 0.8907 MB / 2.884 GB, free: 429.2 MB / 1.686 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.06178/8.922, allocations: 23.01 MB / 2.906 GB, free: 425.1 MB / 1.686 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.04726/8.969, allocations: 25.8 MB / 2.931 GB, free: 416.2 MB / 1.686 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01385/8.983, allocations: 8.036 MB / 2.939 GB, free: 411 MB / 1.686 GB Notification: Performance of sorting global known variables: time 0.01414/8.997, allocations: 9.134 MB / 2.948 GB, free: 403.9 MB / 1.686 GB Notification: Performance of Backend: time 8.41e-07/8.997, allocations: 3.375 kB / 2.948 GB, free: 403.9 MB / 1.686 GB Notification: Performance of simCode: created initialization part: time 0.07781/9.075, allocations: 32.63 MB / 2.98 GB, free: 372.1 MB / 1.686 GB Notification: Performance of SimCode: time 0.05556/9.131, allocations: 31.86 MB / 3.011 GB, free: 340.3 MB / 1.686 GB Notification: Performance of Templates: time 1.041/10.17, allocations: 443.7 MB / 3.444 GB, free: 0.7216 GB / 1.701 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified4.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified4.sim & ./Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe 2>&1)