Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.conf.json 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/IBPSA 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Average") translateModel(IBPSA.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009513/0.0009513, allocations: 167.4 kB / 16.76 MB, free: 4.938 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4484/0.4484, allocations: 86.26 MB / 103.8 MB, free: 14.57 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 223.3 MB / 348.4 MB, free: 4.965 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007878/0.0007876, allocations: 91.55 kB / 420.2 MB, free: 9.633 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003508/0.0003508, allocations: 15.94 kB / 0.4901 GB, free: 7.98 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3552, allocations: 71.02 MB / 0.5595 GB, free: 43.64 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1323/0.4875, allocations: 100.3 MB / 0.6574 GB, free: 9.141 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002401/0.4878, allocations: 75.95 kB / 0.6575 GB, free: 9.066 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00345/0.4913, allocations: 1.14 MB / 0.6586 GB, free: 7.922 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4913, allocations: 0 / 0.6586 GB, free: 7.922 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.269e-05/0.4913, allocations: 8 kB / 0.6586 GB, free: 7.914 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000434/0.4918, allocations: 375.3 kB / 0.659 GB, free: 7.496 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.4918, allocations: 8.031 kB / 0.659 GB, free: 7.488 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.332e-05/0.4919, allocations: 8.938 kB / 0.659 GB, free: 7.48 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001784/0.4921, allocations: 188.2 kB / 0.6592 GB, free: 7.258 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.484e-06/0.4921, allocations: 384 / 0.6592 GB, free: 7.258 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.423e-05/0.4921, allocations: 4.375 kB / 0.6592 GB, free: 7.254 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002627/0.4924, allocations: 98.14 kB / 0.6593 GB, free: 7.152 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.046e-06/0.4924, allocations: 8.125 kB / 0.6593 GB, free: 7.145 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.4924, allocations: 3.938 kB / 0.6593 GB, free: 7.141 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.4924, allocations: 0 / 0.6593 GB, free: 7.141 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002973/0.4927, allocations: 103.9 kB / 0.6594 GB, free: 7.039 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005313/0.4932, allocations: 336.6 kB / 0.6597 GB, free: 6.66 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001893/0.4934, allocations: 66.53 kB / 0.6598 GB, free: 6.586 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001478/0.4936, allocations: 60.91 kB / 0.6598 GB, free: 6.523 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.333e-05/0.4936, allocations: 0 / 0.6598 GB, free: 6.523 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.4937, allocations: 30.56 kB / 0.6599 GB, free: 6.484 MB / 474.7 MB Notification: Performance of pre-optimization done (n=3): time 2.575e-06/0.4937, allocations: 96 / 0.6599 GB, free: 6.484 MB / 474.7 MB Notification: Performance of matching and sorting (n=3): time 0.0005289/0.4942, allocations: 181.4 kB / 0.66 GB, free: 6.301 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.609e-05/0.4943, allocations: 59.34 kB / 0.6601 GB, free: 6.23 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.882e-05/0.4944, allocations: 117.8 kB / 0.6602 GB, free: 6.105 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.4944, allocations: 25.7 kB / 0.6602 GB, free: 6.074 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.201e-05/0.4944, allocations: 104 kB / 0.6603 GB, free: 5.969 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.715e-05/0.4945, allocations: 7.906 kB / 0.6603 GB, free: 5.961 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-06/0.4945, allocations: 0 / 0.6603 GB, free: 5.961 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.4946, allocations: 326.8 kB / 0.6607 GB, free: 5.633 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/0.4947, allocations: 39.97 kB / 0.6607 GB, free: 5.594 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.4949, allocations: 47.95 kB / 0.6607 GB, free: 5.547 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002701/0.4952, allocations: 96.72 kB / 0.6608 GB, free: 5.449 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4952, allocations: 0 / 0.6608 GB, free: 5.449 MB / 474.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003112/0.4955, allocations: 129.6 kB / 0.661 GB, free: 5.316 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.4955, allocations: 4 kB / 0.661 GB, free: 5.312 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.4955, allocations: 0 / 0.661 GB, free: 5.312 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.4955, allocations: 0 / 0.661 GB, free: 5.312 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.4957, allocations: 23.98 kB / 0.661 GB, free: 5.289 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.4957, allocations: 0 / 0.661 GB, free: 5.289 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.374e-05/0.4958, allocations: 19.89 kB / 0.661 GB, free: 5.27 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.985e-05/0.4958, allocations: 4 kB / 0.661 GB, free: 5.266 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.766e-05/0.4959, allocations: 125.8 kB / 0.6611 GB, free: 5.133 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.408e-05/0.4959, allocations: 0 / 0.6611 GB, free: 5.133 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003628/0.4963, allocations: 141.4 kB / 0.6613 GB, free: 4.98 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.4963, allocations: 3.984 kB / 0.6613 GB, free: 4.977 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.4963, allocations: 4 kB / 0.6613 GB, free: 4.973 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.4963, allocations: 0 / 0.6613 GB, free: 4.973 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001664/0.4965, allocations: 181.6 kB / 0.6614 GB, free: 4.746 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4965, allocations: 0 / 0.6614 GB, free: 4.746 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.866e-05/0.4966, allocations: 23.98 kB / 0.6615 GB, free: 4.723 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.4966, allocations: 0 / 0.6615 GB, free: 4.723 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.4966, allocations: 4 kB / 0.6615 GB, free: 4.719 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.4966, allocations: 0 / 0.6615 GB, free: 4.719 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.4966, allocations: 0 / 0.6615 GB, free: 4.719 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003749/0.497, allocations: 231.2 kB / 0.6617 GB, free: 4.477 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.22e-05/0.4971, allocations: 77.11 kB / 0.6618 GB, free: 4.383 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.4971, allocations: 0 / 0.6618 GB, free: 4.383 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.4972, allocations: 23.97 kB / 0.6618 GB, free: 4.359 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.866e-05/0.4972, allocations: 4 kB / 0.6618 GB, free: 4.355 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-06/0.4973, allocations: 0 / 0.6618 GB, free: 4.355 MB / 474.7 MB Notification: Performance of sorting global known variables: time 5.181e-05/0.4973, allocations: 91.27 kB / 0.6619 GB, free: 4.266 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4973, allocations: 0 / 0.6619 GB, free: 4.266 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002135/0.4975, allocations: 19.84 kB / 0.6619 GB, free: 4.246 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001323/0.4977, allocations: 103.2 kB / 0.662 GB, free: 4.133 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0003302/0.498, allocations: 108.3 kB / 0.6621 GB, free: 4.027 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.498, allocations: 0 / 0.6621 GB, free: 4.027 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001443/0.4982, allocations: 47.91 kB / 0.6621 GB, free: 3.98 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002386/0.4984, allocations: 11.98 kB / 0.6622 GB, free: 3.969 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003661/0.4988, allocations: 161.1 kB / 0.6623 GB, free: 3.785 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002249/0.499, allocations: 0.6926 MB / 0.663 GB, free: 3.066 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 4.391e-05/0.4991, allocations: 11.98 kB / 0.663 GB, free: 3.055 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.272e-05/0.4991, allocations: 7.438 kB / 0.663 GB, free: 3.047 MB / 474.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4991, allocations: 4 kB / 0.663 GB, free: 3.043 MB / 474.7 MB Notification: Performance of Templates: time 0.0026/0.5017, allocations: 0.609 MB / 0.6636 GB, free: 2.445 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.pipe 2>&1)