Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.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.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4") translateModel(Buildings.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005445/0.005445, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001477/0.001478, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.417/1.417, allocations: 205.1 MB / 222.5 MB, free: 4.375 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.569/1.569, allocations: 251.7 MB / 0.5094 GB, free: 2.973 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.001519/0.00152, allocations: 67.91 kB / 0.7258 GB, free: 8.977 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2596/0.2612, allocations: 104.7 MB / 0.828 GB, free: 176 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.8451/1.106, allocations: 237.9 MB / 1.06 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.02131/1.128, allocations: 15.8 MB / 1.076 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002469/1.13, allocations: 55.69 kB / 1.076 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002941/1.133, allocations: 1.08 MB / 1.077 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.008195/1.141, allocations: 3.314 MB / 1.08 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.004229/1.146, allocations: 1.694 MB / 1.082 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.004865/1.15, allocations: 3.446 MB / 1.085 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001883/1.152, allocations: 1.292 MB / 1.086 GB, free: 3.883 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005896/1.158, allocations: 2.364 MB / 1.089 GB, free: 1.527 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002267/1.161, allocations: 1.16 MB / 1.09 GB, free: 384 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0002949/1.161, allocations: 116 kB / 1.09 GB, free: 268 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005763/1.167, allocations: 3.102 MB / 1.093 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0005739/1.167, allocations: 478.4 kB / 1.093 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001042/1.168, allocations: 0.8123 MB / 1.094 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.004873/1.173, allocations: 2.979 MB / 1.097 GB, free: 8.883 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/1.173, allocations: 3.938 kB / 1.097 GB, free: 8.879 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.493e-06/1.173, allocations: 4 kB / 1.097 GB, free: 8.875 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.154e-05/1.173, allocations: 0 / 1.097 GB, free: 8.875 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.003416/1.177, allocations: 2.001 MB / 1.099 GB, free: 6.82 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/1.177, allocations: 8.031 kB / 1.099 GB, free: 6.812 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002653/1.179, allocations: 493.5 kB / 1.1 GB, free: 6.328 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00218/1.182, allocations: 1.164 MB / 1.101 GB, free: 5.105 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.777e-05/1.182, allocations: 78 kB / 1.101 GB, free: 5.031 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001393/1.182, allocations: 104 kB / 1.101 GB, free: 4.93 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00231/1.184, allocations: 1.354 MB / 1.102 GB, free: 3.453 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/1.184, allocations: 0 / 1.102 GB, free: 3.453 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.896e-05/1.184, allocations: 44 kB / 1.102 GB, free: 3.41 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.265e-05/1.184, allocations: 49.92 kB / 1.102 GB, free: 3.363 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002322/1.187, allocations: 1.046 MB / 1.103 GB, free: 2.312 MB / 0.8419 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.007713/1.194, allocations: 7.462 MB / 1.111 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001533/1.196, allocations: 0.5425 MB / 1.111 GB, free: 9.809 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006084/1.197, allocations: 261.2 kB / 1.111 GB, free: 9.551 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003981/1.197, allocations: 283.6 kB / 1.112 GB, free: 9.219 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.73e-05/1.197, allocations: 46.77 kB / 1.112 GB, free: 9.164 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=33): time 1.934e-06/1.197, allocations: 0 / 1.112 GB, free: 9.164 MB / 0.8575 GB Notification: Performance of matching and sorting (n=33): time 0.002373/1.199, allocations: 0.8364 MB / 1.113 GB, free: 8.32 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/1.199, allocations: 51.41 kB / 1.113 GB, free: 8.258 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001827/1.201, allocations: 1.395 MB / 1.114 GB, free: 6.852 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.335e-05/1.201, allocations: 33.7 kB / 1.114 GB, free: 6.812 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005041/1.202, allocations: 0.6986 MB / 1.115 GB, free: 6.109 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/1.202, allocations: 130.3 kB / 1.115 GB, free: 5.98 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002382/1.202, allocations: 166.4 kB / 1.115 GB, free: 5.812 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000114/1.202, allocations: 333.9 kB / 1.115 GB, free: 5.48 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008213/1.203, allocations: 324.6 kB / 1.116 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001081/1.204, allocations: 0.7112 MB / 1.116 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00171/1.206, allocations: 0.9422 MB / 1.117 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/1.206, allocations: 7.938 kB / 1.117 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002406/1.208, allocations: 1.062 MB / 1.118 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/1.208, allocations: 11.94 kB / 1.118 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.722e-05/1.209, allocations: 12 kB / 1.118 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.376e-05/1.209, allocations: 16 kB / 1.118 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009146/1.209, allocations: 215.9 kB / 1.118 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.357e-05/1.209, allocations: 23.92 kB / 1.119 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001409/1.211, allocations: 182.6 kB / 1.119 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.262e-05/1.211, allocations: 43.92 kB / 1.119 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001254/1.212, allocations: 0.576 MB / 1.119 GB, free: 1 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001084/1.213, allocations: 0.7151 MB / 1.12 GB, free: 104 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00177/1.215, allocations: 0.9419 MB / 1.121 GB, free: 15 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.566e-06/1.215, allocations: 4.703 kB / 1.121 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.002551/1.218, allocations: 1.062 MB / 1.122 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/1.218, allocations: 11.94 kB / 1.122 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/1.218, allocations: 12 kB / 1.122 GB, free: 13.9 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/1.218, allocations: 20.06 kB / 1.122 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008438/1.219, allocations: 203.7 kB / 1.122 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.249e-05/1.219, allocations: 27.86 kB / 1.122 GB, free: 13.65 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001323/1.22, allocations: 139.4 kB / 1.122 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.272e-05/1.22, allocations: 47.98 kB / 1.122 GB, free: 13.47 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003306/1.22, allocations: 232 kB / 1.123 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002211/1.221, allocations: 142.2 kB / 1.123 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001734/1.222, allocations: 0.6416 MB / 1.123 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.984e-06/1.222, allocations: 7.984 kB / 1.123 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/1.222, allocations: 0 / 1.123 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/1.222, allocations: 0 / 1.123 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003412/1.226, allocations: 1.882 MB / 1.125 GB, free: 10.44 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/1.226, allocations: 4 kB / 1.125 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004776/1.226, allocations: 95.86 kB / 1.125 GB, free: 10.34 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.927e-06/1.226, allocations: 12.09 kB / 1.125 GB, free: 10.33 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.461e-05/1.226, allocations: 15.98 kB / 1.125 GB, free: 10.31 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.233e-06/1.226, allocations: 7.938 kB / 1.125 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/1.226, allocations: 4 kB / 1.125 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001481/1.228, allocations: 0.8025 MB / 1.126 GB, free: 9.434 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004388/1.228, allocations: 295.1 kB / 1.126 GB, free: 9.125 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001866/1.229, allocations: 15.94 kB / 1.126 GB, free: 9.109 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009776/1.23, allocations: 67.92 kB / 1.127 GB, free: 9.043 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.969e-05/1.23, allocations: 31.84 kB / 1.127 GB, free: 9.012 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.207e-05/1.23, allocations: 23.98 kB / 1.127 GB, free: 8.988 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001465/1.231, allocations: 1.005 MB / 1.128 GB, free: 7.988 MB / 0.8731 GB Notification: Performance of sort global known variables: time 4.01e-07/1.231, allocations: 3.938 kB / 1.128 GB, free: 7.984 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.00184/1.233, allocations: 0.5734 MB / 1.128 GB, free: 7.41 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005643/1.234, allocations: 258 kB / 1.128 GB, free: 7.156 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002865/1.236, allocations: 1.145 MB / 1.129 GB, free: 6.016 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.227e-06/1.236, allocations: 0 / 1.129 GB, free: 6.016 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0006735/1.237, allocations: 257.5 kB / 1.13 GB, free: 5.766 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003299/1.24, allocations: 0.7381 MB / 1.13 GB, free: 5.031 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00511/1.246, allocations: 2.231 MB / 1.133 GB, free: 2.723 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007468/1.246, allocations: 1.178 MB / 1.134 GB, free: 1.516 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001388/1.248, allocations: 391.8 kB / 1.134 GB, free: 1.129 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002491/1.248, allocations: 95.41 kB / 1.134 GB, free: 1.035 MB / 0.8731 GB Notification: Performance of SimCode: time 9.52e-07/1.248, allocations: 3.938 kB / 1.134 GB, free: 1.031 MB / 0.8731 GB Notification: Performance of Templates: time 0.04037/1.288, allocations: 25.06 MB / 1.159 GB, free: 8.324 MB / 0.9044 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1)