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: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7441/0.7441, allocations: 127.3 MB / 139.8 MB, free: 15.51 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001105/0.001105, allocations: 172.9 kB / 169.7 MB, free: 1.738 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.1 MB / 404.5 MB, free: 1.566 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.000889/0.000889, allocations: 97.14 kB / 481.8 MB, free: 4.223 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 5.007e-05/5.023e-05, allocations: 4 kB / 0.5533 GB, free: 54.73 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.1711, allocations: 76.76 MB / 0.6283 GB, free: 9.914 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5147/0.6858, allocations: 101.7 MB / 0.7276 GB, free: 11.62 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002349/0.6861, allocations: 77.52 kB / 0.7277 GB, free: 11.58 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001314/0.6874, allocations: 0.5628 MB / 0.7282 GB, free: 11.05 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.6874, allocations: 0 / 0.7282 GB, free: 11.05 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.6874, allocations: 0 / 0.7282 GB, free: 11.05 MB / 490.7 MB 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.0002697/0.6877, allocations: 340.3 kB / 0.7286 GB, free: 10.67 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.6878, allocations: 12.02 kB / 0.7286 GB, free: 10.66 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.025e-05/0.6878, allocations: 38.17 kB / 0.7286 GB, free: 10.61 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.847e-05/0.6879, allocations: 7.953 kB / 0.7286 GB, free: 10.61 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.265e-05/0.688, allocations: 163 kB / 0.7288 GB, free: 10.41 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.688, allocations: 3.938 kB / 0.7288 GB, free: 10.4 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.688, allocations: 4 kB / 0.7288 GB, free: 10.4 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.6881, allocations: 48.88 kB / 0.7288 GB, free: 10.35 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.6881, allocations: 0 / 0.7288 GB, free: 10.35 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.6882, allocations: 4.656 kB / 0.7288 GB, free: 10.34 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.535e-05/0.6882, allocations: 15.47 kB / 0.7289 GB, free: 10.33 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.592e-05/0.6882, allocations: 23.7 kB / 0.7289 GB, free: 10.31 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000313/0.6886, allocations: 259.2 kB / 0.7291 GB, free: 10.02 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.883e-05/0.6886, allocations: 18.52 kB / 0.7291 GB, free: 9.992 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.917e-05/0.6886, allocations: 12.88 kB / 0.7292 GB, free: 9.977 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.312e-06/0.6887, allocations: 2.188 kB / 0.7292 GB, free: 9.977 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.6887, allocations: 38.06 kB / 0.7292 GB, free: 9.934 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.6887, allocations: 0 / 0.7292 GB, free: 9.934 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001485/0.6888, allocations: 63.39 kB / 0.7293 GB, free: 9.859 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.6889, allocations: 77.11 kB / 0.7293 GB, free: 9.766 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.793e-05/0.689, allocations: 112 kB / 0.7294 GB, free: 9.656 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.689, allocations: 29.7 kB / 0.7295 GB, free: 9.621 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.072e-05/0.6891, allocations: 99.73 kB / 0.7296 GB, free: 9.52 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.877e-06/0.6891, allocations: 12.09 kB / 0.7296 GB, free: 9.508 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-06/0.6891, allocations: 3.438 kB / 0.7296 GB, free: 9.508 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.362e-05/0.6892, allocations: 314.8 kB / 0.7299 GB, free: 9.191 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.169e-05/0.6892, allocations: 10.75 kB / 0.7299 GB, free: 9.184 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.996e-05/0.6893, allocations: 57.61 kB / 0.7299 GB, free: 9.105 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.312e-05/0.6893, allocations: 51.53 kB / 0.73 GB, free: 9.055 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.6893, allocations: 0 / 0.73 GB, free: 9.055 MB / 490.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000137/0.6895, allocations: 124 kB / 0.7301 GB, free: 8.93 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.046e-05/0.6895, allocations: 41.59 kB / 0.7301 GB, free: 8.883 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.6895, allocations: 0 / 0.7301 GB, free: 8.883 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.6896, allocations: 4 kB / 0.7301 GB, free: 8.879 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.902e-05/0.6896, allocations: 11.94 kB / 0.7302 GB, free: 8.867 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.6896, allocations: 11.92 kB / 0.7302 GB, free: 8.855 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.924e-05/0.6897, allocations: 9.688 kB / 0.7302 GB, free: 8.848 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.6897, allocations: 4 kB / 0.7302 GB, free: 8.844 MB / 490.7 MB 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 () * 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 7.656e-05/0.6898, allocations: 138.8 kB / 0.7303 GB, free: 8.699 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.405e-05/0.6898, allocations: 4 kB / 0.7303 GB, free: 8.695 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.744e-05/0.6899, allocations: 7.609 kB / 0.7303 GB, free: 8.691 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-06/0.6899, allocations: 0 / 0.7303 GB, free: 8.691 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.6899, allocations: 0 / 0.7303 GB, free: 8.691 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.6899, allocations: 0 / 0.7303 GB, free: 8.691 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001454/0.69, allocations: 152.9 kB / 0.7305 GB, free: 8.496 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.69, allocations: 4 kB / 0.7305 GB, free: 8.492 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.3e-07/0.69, allocations: 0 / 0.7305 GB, free: 8.492 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.69, allocations: 0 / 0.7305 GB, free: 8.492 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.6901, allocations: 4 kB / 0.7305 GB, free: 8.488 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.6901, allocations: 11.88 kB / 0.7305 GB, free: 8.477 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.6901, allocations: 0.9375 kB / 0.7305 GB, free: 8.477 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001185/0.6902, allocations: 160.9 kB / 0.7306 GB, free: 8.301 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.365e-05/0.6902, allocations: 77.11 kB / 0.7307 GB, free: 8.207 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.6903, allocations: 7.984 kB / 0.7307 GB, free: 8.199 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.149e-05/0.6903, allocations: 0 / 0.7307 GB, free: 8.199 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.683e-05/0.6903, allocations: 7.984 kB / 0.7307 GB, free: 8.191 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.6904, allocations: 4 kB / 0.7307 GB, free: 8.188 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.616e-05/0.6904, allocations: 87.86 kB / 0.7308 GB, free: 8.105 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6904, allocations: 0 / 0.7308 GB, free: 8.105 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002169/0.6906, allocations: 8 kB / 0.7308 GB, free: 8.098 MB / 490.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 () * 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.0004297/0.6911, allocations: 0.7166 MB / 0.7315 GB, free: 7.355 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001207/0.6912, allocations: 78.03 kB / 0.7316 GB, free: 7.27 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.706e-06/0.6912, allocations: 0 / 0.7316 GB, free: 7.27 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.191e-05/0.6913, allocations: 58.09 kB / 0.7317 GB, free: 7.203 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001194/0.6914, allocations: 14.23 kB / 0.7317 GB, free: 7.191 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003091/0.6917, allocations: 103 kB / 0.7318 GB, free: 7.059 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000239/0.692, allocations: 0.6855 MB / 0.7324 GB, free: 6.348 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.362e-05/0.692, allocations: 16.16 kB / 0.7325 GB, free: 6.328 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.209e-05/0.692, allocations: 11.44 kB / 0.7325 GB, free: 6.316 MB / 490.7 MB Notification: Performance of SimCode: time 2.8e-07/0.692, allocations: 0 / 0.7325 GB, free: 6.316 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01217/0.7042, allocations: 1.239 MB / 0.7337 GB, free: 5.223 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001948/0.7045, allocations: 183.2 kB / 0.7339 GB, free: 4.992 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.457/2.161, allocations: 0 / 0.7339 GB, free: 4.992 MB / 490.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)