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.7678/0.7678, allocations: 128.7 MB / 143.7 MB, free: 2.34 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.001195/0.001195, allocations: 187.9 kB / 173.7 MB, free: 6.133 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.773/1.773, allocations: 205.4 MB / 409 MB, free: 10.49 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.0008904/0.0008903, allocations: 92.41 kB / 486.6 MB, free: 12.98 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003631/0.0003632, allocations: 10.25 kB / 0.5604 GB, free: 97.57 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1622, allocations: 76.77 MB / 0.6354 GB, free: 30.43 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1542/0.3165, allocations: 101.8 MB / 0.7349 GB, free: 8.469 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002487/0.3168, allocations: 83.94 kB / 0.7349 GB, free: 8.387 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.001315/0.3181, allocations: 0.5592 MB / 0.7355 GB, free: 7.824 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.804e-06/0.3181, allocations: 0 / 0.7355 GB, free: 7.824 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.3182, allocations: 8 kB / 0.7355 GB, free: 7.816 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.0002803/0.3184, allocations: 353.1 kB / 0.7358 GB, free: 7.418 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.3185, allocations: 12.03 kB / 0.7358 GB, free: 7.406 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.354e-05/0.3185, allocations: 30.56 kB / 0.7359 GB, free: 7.367 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.786e-05/0.3186, allocations: 7.859 kB / 0.7359 GB, free: 7.359 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.256e-05/0.3187, allocations: 171 kB / 0.736 GB, free: 7.152 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.3187, allocations: 0 / 0.736 GB, free: 7.152 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.768e-06/0.3187, allocations: 0 / 0.736 GB, free: 7.152 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.3188, allocations: 53.69 kB / 0.7361 GB, free: 7.094 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.122e-06/0.3189, allocations: 4 kB / 0.7361 GB, free: 7.09 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.3189, allocations: 0 / 0.7361 GB, free: 7.09 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.111e-05/0.3189, allocations: 8 kB / 0.7361 GB, free: 7.082 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.591e-05/0.3189, allocations: 23.94 kB / 0.7361 GB, free: 7.059 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000321/0.3193, allocations: 264.8 kB / 0.7364 GB, free: 6.75 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 3.627e-05/0.3193, allocations: 22.45 kB / 0.7364 GB, free: 6.719 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 9.438e-06/0.3193, allocations: 8.016 kB / 0.7364 GB, free: 6.711 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.015e-05/0.3194, allocations: 34.56 kB / 0.7364 GB, free: 6.668 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.3194, allocations: 0 / 0.7364 GB, free: 6.668 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.000164/0.3195, allocations: 67.3 kB / 0.7365 GB, free: 6.59 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/0.3196, allocations: 85.05 kB / 0.7366 GB, free: 6.488 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.245e-05/0.3197, allocations: 109 kB / 0.7367 GB, free: 6.375 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.3197, allocations: 25.7 kB / 0.7367 GB, free: 6.344 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.313e-05/0.3198, allocations: 103.8 kB / 0.7368 GB, free: 6.238 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.796e-06/0.3198, allocations: 12.03 kB / 0.7368 GB, free: 6.227 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-06/0.3198, allocations: 4 kB / 0.7368 GB, free: 6.223 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.3199, allocations: 310.8 kB / 0.7371 GB, free: 5.91 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.606e-05/0.3199, allocations: 15.98 kB / 0.7371 GB, free: 5.895 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.041e-05/0.32, allocations: 58.8 kB / 0.7372 GB, free: 5.812 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.516e-05/0.32, allocations: 51.64 kB / 0.7372 GB, free: 5.758 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.32, allocations: 0 / 0.7372 GB, free: 5.758 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001331/0.3202, allocations: 119.5 kB / 0.7374 GB, free: 5.629 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.704e-05/0.3202, allocations: 37.66 kB / 0.7374 GB, free: 5.586 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.3202, allocations: 0 / 0.7374 GB, free: 5.586 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.3202, allocations: 4 kB / 0.7374 GB, free: 5.582 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.89e-05/0.3203, allocations: 15.94 kB / 0.7374 GB, free: 5.566 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.3203, allocations: 0 / 0.7374 GB, free: 5.566 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.962e-05/0.3204, allocations: 4 kB / 0.7374 GB, free: 5.562 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.842e-05/0.3204, allocations: 15.98 kB / 0.7374 GB, free: 5.547 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 8.323e-05/0.3205, allocations: 139.5 kB / 0.7376 GB, free: 5.395 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.37e-05/0.3205, allocations: 7.938 kB / 0.7376 GB, free: 5.387 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.606e-05/0.3205, allocations: 11.48 kB / 0.7376 GB, free: 5.371 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.3205, allocations: 0 / 0.7376 GB, free: 5.371 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.3206, allocations: 0 / 0.7376 GB, free: 5.371 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.3206, allocations: 7.922 kB / 0.7376 GB, free: 5.363 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001283/0.3207, allocations: 149.7 kB / 0.7377 GB, free: 5.168 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.3207, allocations: 4 kB / 0.7377 GB, free: 5.164 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.533e-06/0.3207, allocations: 3.984 kB / 0.7377 GB, free: 5.16 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.3207, allocations: 4 kB / 0.7377 GB, free: 5.156 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.3207, allocations: 0 / 0.7377 GB, free: 5.156 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.3207, allocations: 3.953 kB / 0.7377 GB, free: 5.152 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3207, allocations: 4 kB / 0.7377 GB, free: 5.148 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001068/0.3209, allocations: 157.3 kB / 0.7379 GB, free: 4.973 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.619e-05/0.3209, allocations: 81.09 kB / 0.738 GB, free: 4.875 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.3209, allocations: 3.984 kB / 0.738 GB, free: 4.871 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.303e-05/0.321, allocations: 4 kB / 0.738 GB, free: 4.867 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.507e-05/0.321, allocations: 3.953 kB / 0.738 GB, free: 4.863 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.73e-06/0.321, allocations: 7.938 kB / 0.738 GB, free: 4.855 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.327e-05/0.3211, allocations: 91.3 kB / 0.7381 GB, free: 4.766 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3211, allocations: 0 / 0.7381 GB, free: 4.766 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002252/0.3213, allocations: 12 kB / 0.7381 GB, free: 4.754 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.0004221/0.3217, allocations: 0.7138 MB / 0.7388 GB, free: 4.008 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001188/0.3219, allocations: 83.36 kB / 0.7389 GB, free: 3.914 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3219, allocations: 4 kB / 0.7389 GB, free: 3.91 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.045e-05/0.3219, allocations: 55.41 kB / 0.7389 GB, free: 3.844 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001463/0.3221, allocations: 10.56 kB / 0.7389 GB, free: 3.836 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003521/0.3224, allocations: 144.9 kB / 0.7391 GB, free: 3.652 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002436/0.3227, allocations: 0.6848 MB / 0.7397 GB, free: 2.941 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 4.553e-05/0.3227, allocations: 12.17 kB / 0.7398 GB, free: 2.926 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.055e-05/0.3228, allocations: 7.438 kB / 0.7398 GB, free: 2.918 MB / 0.5105 GB Notification: Performance of SimCode: time 2.11e-07/0.3228, allocations: 0 / 0.7398 GB, free: 2.918 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01227/0.335, allocations: 1.224 MB / 0.741 GB, free: 1.863 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000236/0.3353, allocations: 212.3 kB / 0.7412 GB, free: 1.621 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.427/1.763, allocations: 0 / 0.7412 GB, free: 1.621 MB / 0.5105 GB (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)