Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8479/0.8479, allocations: 128.7 MB / 143.7 MB, free: 2.309 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001313/0.001313, allocations: 188.4 kB / 173.8 MB, free: 6.105 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.685/1.685, allocations: 205.4 MB / 409 MB, free: 10.5 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009182/0.0009183, allocations: 98.31 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003584/0.0003585, allocations: 10.19 kB / 0.5603 GB, free: 97.42 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.144, allocations: 76.76 MB / 0.6353 GB, free: 30.56 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1436/0.2877, allocations: 102.8 MB / 0.7357 GB, free: 7.613 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002429/0.2879, allocations: 79.95 kB / 0.7358 GB, free: 7.535 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.004427/0.2924, allocations: 1.132 MB / 0.7369 GB, free: 6.395 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.964e-06/0.2924, allocations: 0 / 0.7369 GB, free: 6.395 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.354e-05/0.2925, allocations: 0 / 0.7369 GB, free: 6.395 MB / 0.5105 GB 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.0006405/0.2931, allocations: 393.4 kB / 0.7373 GB, free: 5.965 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.2932, allocations: 8.031 kB / 0.7373 GB, free: 5.957 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.182e-05/0.2932, allocations: 7.953 kB / 0.7373 GB, free: 5.949 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002457/0.2935, allocations: 190.8 kB / 0.7375 GB, free: 5.723 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.2935, allocations: 4 kB / 0.7375 GB, free: 5.719 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/0.2935, allocations: 0 / 0.7375 GB, free: 5.719 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003738/0.2939, allocations: 97.64 kB / 0.7376 GB, free: 5.617 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.294, allocations: 0 / 0.7376 GB, free: 5.617 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.967e-05/0.294, allocations: 4 kB / 0.7376 GB, free: 5.613 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.687e-06/0.294, allocations: 7.922 kB / 0.7376 GB, free: 5.605 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004497/0.2945, allocations: 99.91 kB / 0.7377 GB, free: 5.508 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000727/0.2952, allocations: 344.7 kB / 0.738 GB, free: 5.121 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000281/0.2955, allocations: 74.47 kB / 0.7381 GB, free: 5.039 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.487e-05/0.2956, allocations: 4 kB / 0.7381 GB, free: 5.035 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.2956, allocations: 34.52 kB / 0.7381 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.854e-06/0.2956, allocations: 0 / 0.7381 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0007854/0.2964, allocations: 173.7 kB / 0.7383 GB, free: 4.816 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.2965, allocations: 55.34 kB / 0.7383 GB, free: 4.75 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.2966, allocations: 105 kB / 0.7384 GB, free: 4.641 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.2966, allocations: 25.7 kB / 0.7384 GB, free: 4.609 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.99e-05/0.2967, allocations: 92.03 kB / 0.7385 GB, free: 4.516 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.54e-05/0.2967, allocations: 15.84 kB / 0.7385 GB, free: 4.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-06/0.2967, allocations: 0 / 0.7385 GB, free: 4.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.2969, allocations: 314.8 kB / 0.7388 GB, free: 4.184 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001992/0.2971, allocations: 43.97 kB / 0.7389 GB, free: 4.141 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001844/0.2973, allocations: 51.95 kB / 0.7389 GB, free: 4.09 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001853/0.2975, allocations: 43.97 kB / 0.739 GB, free: 4.047 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.2975, allocations: 3.938 kB / 0.739 GB, free: 4.043 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004609/0.2979, allocations: 129.5 kB / 0.7391 GB, free: 3.91 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.298, allocations: 8 kB / 0.7391 GB, free: 3.902 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.298, allocations: 4 kB / 0.7391 GB, free: 3.898 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.298, allocations: 3.953 kB / 0.7391 GB, free: 3.895 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001956/0.2982, allocations: 23.92 kB / 0.7391 GB, free: 3.871 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.779e-06/0.2982, allocations: 3.984 kB / 0.7392 GB, free: 3.867 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000117/0.2984, allocations: 15.98 kB / 0.7392 GB, free: 3.852 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.341e-05/0.2984, allocations: 4 kB / 0.7392 GB, free: 3.848 MB / 0.5105 GB 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 0.000104/0.2985, allocations: 113.8 kB / 0.7393 GB, free: 3.727 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.455e-05/0.2986, allocations: 7.906 kB / 0.7393 GB, free: 3.719 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005201/0.2991, allocations: 137.5 kB / 0.7394 GB, free: 3.574 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.2991, allocations: 3.953 kB / 0.7394 GB, free: 3.57 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.2991, allocations: 0 / 0.7394 GB, free: 3.57 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.2991, allocations: 4 kB / 0.7394 GB, free: 3.566 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002354/0.2994, allocations: 177.6 kB / 0.7396 GB, free: 3.344 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.2994, allocations: 0 / 0.7396 GB, free: 3.344 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001382/0.2995, allocations: 27.92 kB / 0.7396 GB, free: 3.316 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.2996, allocations: 0 / 0.7396 GB, free: 3.316 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.2996, allocations: 0 / 0.7396 GB, free: 3.316 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.2996, allocations: 0 / 0.7396 GB, free: 3.316 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/0.2996, allocations: 7.938 kB / 0.7396 GB, free: 3.309 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005134/0.3001, allocations: 215.9 kB / 0.7398 GB, free: 3.082 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.963e-05/0.3002, allocations: 85 kB / 0.7399 GB, free: 2.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.062e-05/0.3002, allocations: 8 kB / 0.7399 GB, free: 2.973 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/0.3004, allocations: 15.98 kB / 0.7399 GB, free: 2.957 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.158e-05/0.3005, allocations: 8.031 kB / 0.7399 GB, free: 2.949 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.3005, allocations: 7.938 kB / 0.74 GB, free: 2.941 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 6.406e-05/0.3006, allocations: 87.28 kB / 0.74 GB, free: 2.855 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.9e-07/0.3006, allocations: 0 / 0.74 GB, free: 2.855 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003609/0.3009, allocations: 12 kB / 0.74 GB, free: 2.844 MB / 0.5105 GB 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.0001936/0.3011, allocations: 115 kB / 0.7402 GB, free: 2.719 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004633/0.3016, allocations: 103.9 kB / 0.7403 GB, free: 2.617 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3016, allocations: 0 / 0.7403 GB, free: 2.617 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002127/0.3019, allocations: 47.95 kB / 0.7403 GB, free: 2.57 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002431/0.3021, allocations: 8 kB / 0.7403 GB, free: 2.562 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005124/0.3026, allocations: 160.8 kB / 0.7405 GB, free: 2.375 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003269/0.303, allocations: 0.6926 MB / 0.7411 GB, free: 1.656 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 6.263e-05/0.303, allocations: 8 kB / 0.7411 GB, free: 1.648 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.149e-05/0.3031, allocations: 11.44 kB / 0.7412 GB, free: 1.637 MB / 0.5105 GB Notification: Performance of SimCode: time 5.01e-07/0.3031, allocations: 3.938 kB / 0.7412 GB, free: 1.633 MB / 0.5105 GB Notification: Performance of Templates: time 0.003464/0.3066, allocations: 0.6058 MB / 0.7418 GB, free: 1.031 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.pipe 2>&1)