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.6951/0.6951, allocations: 127.4 MB / 134.9 MB, free: 3.707 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.00106/0.00106, allocations: 172.9 kB / 164.6 MB, free: 6.516 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.432/1.432, allocations: 205.2 MB / 399.5 MB, free: 5.934 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.0009936/0.0009937, allocations: 84.3 kB / 476.7 MB, free: 8.664 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.499e-05/3.491e-05, allocations: 8 kB / 0.5467 GB, free: 60.38 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1368, allocations: 76.76 MB / 0.6216 GB, free: 15.55 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4416/0.5785, allocations: 101.4 MB / 0.7206 GB, free: 13.96 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002762/0.5788, allocations: 78 kB / 0.7207 GB, free: 13.91 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001563/0.5804, allocations: 0.5575 MB / 0.7213 GB, free: 13.39 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5804, allocations: 0 / 0.7213 GB, free: 13.39 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.5804, allocations: 0 / 0.7213 GB, free: 13.39 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.0003455/0.5808, allocations: 346.5 kB / 0.7216 GB, free: 13.01 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/0.5808, allocations: 8.031 kB / 0.7216 GB, free: 13 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.139e-05/0.5809, allocations: 4.516 kB / 0.7216 GB, free: 13 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.581, allocations: 171 kB / 0.7218 GB, free: 12.79 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.581, allocations: 1.031 kB / 0.7218 GB, free: 12.79 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.539e-05/0.5811, allocations: 0 / 0.7218 GB, free: 12.79 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001001/0.5812, allocations: 31.42 kB / 0.7218 GB, free: 12.77 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.5813, allocations: 57.48 kB / 0.7219 GB, free: 12.71 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.5813, allocations: 0 / 0.7219 GB, free: 12.71 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.5813, allocations: 0.6562 kB / 0.7219 GB, free: 12.71 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.631e-05/0.5813, allocations: 4 kB / 0.7219 GB, free: 12.71 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003631/0.5817, allocations: 245.9 kB / 0.7221 GB, free: 12.44 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.389e-05/0.5818, allocations: 18.58 kB / 0.7221 GB, free: 12.41 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.756e-05/0.5818, allocations: 8.797 kB / 0.7221 GB, free: 12.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.648e-06/0.5818, allocations: 0 / 0.7221 GB, free: 12.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.5819, allocations: 44.33 kB / 0.7222 GB, free: 12.35 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.312e-06/0.5819, allocations: 0 / 0.7222 GB, free: 12.35 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002161/0.5821, allocations: 37.75 kB / 0.7222 GB, free: 12.31 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.704e-05/0.5821, allocations: 81.14 kB / 0.7223 GB, free: 12.21 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.394e-05/0.5822, allocations: 104.7 kB / 0.7224 GB, free: 12.11 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.5823, allocations: 25.7 kB / 0.7224 GB, free: 12.07 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.267e-05/0.5823, allocations: 107.7 kB / 0.7225 GB, free: 11.97 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.53e-06/0.5823, allocations: 0 / 0.7225 GB, free: 11.97 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-06/0.5823, allocations: 0 / 0.7225 GB, free: 11.97 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.5825, allocations: 318.8 kB / 0.7228 GB, free: 11.65 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.958e-05/0.5825, allocations: 7.984 kB / 0.7228 GB, free: 11.64 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.705e-05/0.5825, allocations: 58.62 kB / 0.7229 GB, free: 11.57 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.076e-05/0.5826, allocations: 26.58 kB / 0.7229 GB, free: 11.55 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5826, allocations: 0 / 0.7229 GB, free: 11.55 MB / 490.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001527/0.5828, allocations: 81.27 kB / 0.723 GB, free: 11.46 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.175e-05/0.5828, allocations: 36.52 kB / 0.723 GB, free: 11.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.5828, allocations: 0 / 0.723 GB, free: 11.43 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.469e-05/0.5829, allocations: 11.94 kB / 0.723 GB, free: 11.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.666e-05/0.583, allocations: 15.94 kB / 0.723 GB, free: 11.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.583, allocations: 256 / 0.723 GB, free: 11.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.932e-05/0.583, allocations: 15.88 kB / 0.7231 GB, free: 11.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.43e-05/0.5831, allocations: 8 kB / 0.7231 GB, free: 11.38 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 0.0001109/0.5832, allocations: 126.7 kB / 0.7232 GB, free: 11.24 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.36e-05/0.5833, allocations: 49.25 kB / 0.7232 GB, free: 11.19 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.427e-05/0.5833, allocations: 7.859 kB / 0.7232 GB, free: 11.18 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.884e-05/0.5833, allocations: 7.969 kB / 0.7232 GB, free: 11.18 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.5834, allocations: 0 / 0.7232 GB, free: 11.18 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.5834, allocations: 0 / 0.7232 GB, free: 11.18 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.5834, allocations: 4.031 kB / 0.7232 GB, free: 11.17 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001299/0.5835, allocations: 134.2 kB / 0.7234 GB, free: 11.01 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.5835, allocations: 0 / 0.7234 GB, free: 11.01 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.5835, allocations: 0 / 0.7234 GB, free: 11.01 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.5835, allocations: 0 / 0.7234 GB, free: 11.01 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.5835, allocations: 4 kB / 0.7234 GB, free: 11 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.5835, allocations: 7.938 kB / 0.7234 GB, free: 11 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.5836, allocations: 0 / 0.7234 GB, free: 11 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001071/0.5837, allocations: 131.4 kB / 0.7235 GB, free: 10.86 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.183e-05/0.5837, allocations: 81.11 kB / 0.7236 GB, free: 10.76 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.5837, allocations: 3.984 kB / 0.7236 GB, free: 10.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.582e-05/0.5838, allocations: 3.062 kB / 0.7236 GB, free: 10.75 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.065e-05/0.5838, allocations: 7.891 kB / 0.7236 GB, free: 10.75 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.7e-06/0.5838, allocations: 4 kB / 0.7236 GB, free: 10.74 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.321e-05/0.5839, allocations: 91.19 kB / 0.7237 GB, free: 10.66 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5839, allocations: 0 / 0.7237 GB, free: 10.66 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000266/0.5842, allocations: 8 kB / 0.7237 GB, free: 10.65 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.000444/0.5846, allocations: 0.685 MB / 0.7244 GB, free: 9.938 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000147/0.5848, allocations: 79.22 kB / 0.7244 GB, free: 9.852 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.5848, allocations: 0 / 0.7244 GB, free: 9.852 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.052e-05/0.5848, allocations: 55.94 kB / 0.7245 GB, free: 9.785 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001367/0.585, allocations: 8.016 kB / 0.7245 GB, free: 9.777 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003629/0.5853, allocations: 109.3 kB / 0.7246 GB, free: 9.637 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002571/0.5856, allocations: 0.6846 MB / 0.7253 GB, free: 8.926 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.059e-05/0.5857, allocations: 12.16 kB / 0.7253 GB, free: 8.91 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.539e-05/0.5857, allocations: 11.44 kB / 0.7253 GB, free: 8.898 MB / 490.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5857, allocations: 0 / 0.7253 GB, free: 8.898 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01968/0.6054, allocations: 0.9294 MB / 0.7262 GB, free: 7.98 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002157/0.6057, allocations: 162.3 kB / 0.7264 GB, free: 7.793 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.382/1.988, allocations: 0.875 kB / 0.7264 GB, free: 7.793 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)