Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8468/0.8468, allocations: 128.7 MB / 143.7 MB, free: 2.301 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.001165/0.001165, allocations: 172.5 kB / 173.8 MB, free: 6.121 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.752/1.752, 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.0008529/0.0008529, allocations: 95.53 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000325/0.0003251, allocations: 10.38 kB / 0.5604 GB, free: 97.54 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1812/0.1816, allocations: 76.76 MB / 0.6353 GB, free: 30.55 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1311/0.3128, allocations: 101.8 MB / 0.7348 GB, free: 8.574 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002409/0.3131, allocations: 75.95 kB / 0.7348 GB, free: 8.5 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.001397/0.3145, allocations: 0.5748 MB / 0.7354 GB, free: 7.922 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.903e-06/0.3145, allocations: 0 / 0.7354 GB, free: 7.922 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.3145, allocations: 0 / 0.7354 GB, free: 7.922 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003102/0.3148, allocations: 349.1 kB / 0.7357 GB, free: 7.527 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.3149, allocations: 12.03 kB / 0.7357 GB, free: 7.516 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.03e-05/0.3149, allocations: 3.953 kB / 0.7358 GB, free: 7.512 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.315, allocations: 163.1 kB / 0.7359 GB, free: 7.312 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.315, allocations: 0 / 0.7359 GB, free: 7.312 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.543e-05/0.3151, allocations: 7.938 kB / 0.7359 GB, free: 7.305 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.3152, allocations: 53.67 kB / 0.736 GB, free: 7.246 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.3152, allocations: 0 / 0.736 GB, free: 7.246 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.3152, allocations: 4 kB / 0.736 GB, free: 7.242 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.547e-05/0.3153, allocations: 4 kB / 0.736 GB, free: 7.238 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.61e-05/0.3153, allocations: 23.97 kB / 0.736 GB, free: 7.215 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003656/0.3157, allocations: 264.8 kB / 0.7363 GB, free: 6.906 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.797e-05/0.3158, allocations: 26.52 kB / 0.7363 GB, free: 6.871 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.236e-06/0.3158, allocations: 0 / 0.7363 GB, free: 6.871 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.3158, allocations: 34.52 kB / 0.7363 GB, free: 6.828 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 9.41e-07/0.3158, allocations: 64 / 0.7363 GB, free: 6.828 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001835/0.316, allocations: 71.3 kB / 0.7364 GB, free: 6.746 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.053e-05/0.3161, allocations: 77.23 kB / 0.7365 GB, free: 6.652 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.999e-05/0.3162, allocations: 116.9 kB / 0.7366 GB, free: 6.531 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.3162, allocations: 25.7 kB / 0.7366 GB, free: 6.5 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.248e-05/0.3163, allocations: 107.7 kB / 0.7367 GB, free: 6.391 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.542e-06/0.3163, allocations: 0 / 0.7367 GB, free: 6.391 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.612e-06/0.3163, allocations: 4 kB / 0.7367 GB, free: 6.387 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.3164, allocations: 314.8 kB / 0.737 GB, free: 6.07 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.28e-05/0.3165, allocations: 7.984 kB / 0.737 GB, free: 6.062 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.281e-05/0.3165, allocations: 62.86 kB / 0.7371 GB, free: 5.977 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.167e-05/0.3166, allocations: 41.7 kB / 0.7371 GB, free: 5.93 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.3166, allocations: 4 kB / 0.7371 GB, free: 5.926 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001612/0.3168, allocations: 127 kB / 0.7372 GB, free: 5.789 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.559e-05/0.3168, allocations: 33.69 kB / 0.7373 GB, free: 5.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.3168, allocations: 7.953 kB / 0.7373 GB, free: 5.742 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.3169, allocations: 4 kB / 0.7373 GB, free: 5.738 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.429e-05/0.3169, allocations: 11.94 kB / 0.7373 GB, free: 5.727 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.3169, allocations: 4 kB / 0.7373 GB, free: 5.723 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.107e-05/0.317, allocations: 8.25 kB / 0.7373 GB, free: 5.715 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.709e-05/0.317, allocations: 4 kB / 0.7373 GB, free: 5.711 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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.0001145/0.3171, allocations: 147.5 kB / 0.7374 GB, free: 5.551 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.451e-05/0.3172, allocations: 3.906 kB / 0.7374 GB, free: 5.547 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.769e-05/0.3172, allocations: 7.469 kB / 0.7374 GB, free: 5.535 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.3172, allocations: 7.953 kB / 0.7375 GB, free: 5.527 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.3172, allocations: 0 / 0.7375 GB, free: 5.527 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.3172, allocations: 0 / 0.7375 GB, free: 5.527 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001564/0.3174, allocations: 153.7 kB / 0.7376 GB, free: 5.328 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.3174, allocations: 4 kB / 0.7376 GB, free: 5.324 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.2e-07/0.3174, allocations: 0 / 0.7376 GB, free: 5.324 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.183e-06/0.3174, allocations: 0 / 0.7376 GB, free: 5.324 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.3174, allocations: 0 / 0.7376 GB, free: 5.324 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.3175, allocations: 4 kB / 0.7376 GB, free: 5.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.3175, allocations: 15.86 kB / 0.7376 GB, free: 5.305 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001201/0.3176, allocations: 159.2 kB / 0.7378 GB, free: 5.129 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.239e-05/0.3177, allocations: 81.05 kB / 0.7379 GB, free: 5.031 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.3177, allocations: 8.016 kB / 0.7379 GB, free: 5.023 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.535e-05/0.3177, allocations: 4 kB / 0.7379 GB, free: 5.02 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.147e-05/0.3178, allocations: 7.953 kB / 0.7379 GB, free: 5.012 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.3178, allocations: 0 / 0.7379 GB, free: 5.012 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.906e-05/0.3178, allocations: 95.72 kB / 0.738 GB, free: 4.918 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3178, allocations: 0 / 0.738 GB, free: 4.918 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002409/0.3181, allocations: 8 kB / 0.738 GB, free: 4.91 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0002254/0.3183, allocations: 115.1 kB / 0.7381 GB, free: 4.789 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001388/0.3185, allocations: 87.27 kB / 0.7382 GB, free: 4.691 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.3185, allocations: 0 / 0.7382 GB, free: 4.691 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.877e-05/0.3185, allocations: 63.34 kB / 0.7382 GB, free: 4.617 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001396/0.3187, allocations: 4 kB / 0.7382 GB, free: 4.613 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002476/0.3189, allocations: 109.8 kB / 0.7383 GB, free: 4.48 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003515/0.3193, allocations: 0.6848 MB / 0.739 GB, free: 3.77 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 5.094e-05/0.3194, allocations: 8.172 kB / 0.739 GB, free: 3.758 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.814e-05/0.3194, allocations: 11.44 kB / 0.739 GB, free: 3.746 MB / 0.5105 GB Notification: Performance of SimCode: time 5.31e-07/0.3194, allocations: 0 / 0.739 GB, free: 3.746 MB / 0.5105 GB Notification: Performance of Templates: time 0.002874/0.3223, allocations: 491.5 kB / 0.7395 GB, free: 3.27 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)