Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 103.9 kB / 16.4 MB, free: 6.461 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 193.2 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.283/1.283, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7112/0.7112, allocations: 115.3 MB / 406.5 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 68.33 kB / 0.5577 GB, free: 32.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1581, allocations: 76.18 MB / 0.6321 GB, free: 4.367 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001741/0.1599, allocations: 0.5727 MB / 0.6327 GB, free: 3.797 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002279/0.1601, allocations: 39.81 kB / 0.6327 GB, free: 3.758 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.05e-05/0.1601, allocations: 0 / 0.6327 GB, free: 3.758 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.779e-05/0.1602, allocations: 0 / 0.6327 GB, free: 3.758 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 3.126e-05/0.1602, allocations: 4 kB / 0.6327 GB, free: 3.754 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001934/0.1604, allocations: 15.98 kB / 0.6327 GB, free: 3.738 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 7.871e-05/0.1605, allocations: 7.984 kB / 0.6327 GB, free: 3.73 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.102e-05/0.1606, allocations: 3.984 kB / 0.6327 GB, free: 3.727 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.024e-05/0.1606, allocations: 0 / 0.6327 GB, free: 3.727 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.42e-05/0.1606, allocations: 11.94 kB / 0.6328 GB, free: 3.715 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.1607, allocations: 0 / 0.6328 GB, free: 3.715 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.659e-05/0.1608, allocations: 19.92 kB / 0.6328 GB, free: 3.695 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 3.005e-05/0.1608, allocations: 4 kB / 0.6328 GB, free: 3.691 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.466e-05/0.1608, allocations: 3.938 kB / 0.6328 GB, free: 3.688 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 9.903e-05/0.1609, allocations: 27.91 kB / 0.6328 GB, free: 3.66 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1609, allocations: 4 kB / 0.6328 GB, free: 3.656 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.582e-06/0.1609, allocations: 4 kB / 0.6328 GB, free: 3.652 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.161, allocations: 0 / 0.6328 GB, free: 3.652 MB / 478.1 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.0003348/0.1613, allocations: 349.3 kB / 0.6332 GB, free: 3.254 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.1613, allocations: 8.031 kB / 0.6332 GB, free: 3.246 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.053e-05/0.1614, allocations: 4.922 kB / 0.6332 GB, free: 3.242 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.775e-05/0.1615, allocations: 168.3 kB / 0.6333 GB, free: 3.039 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.1615, allocations: 384 / 0.6333 GB, free: 3.039 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.1615, allocations: 384 / 0.6333 GB, free: 3.039 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.1616, allocations: 58.25 kB / 0.6334 GB, free: 2.977 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.1616, allocations: 192 / 0.6334 GB, free: 2.977 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.1617, allocations: 7.875 kB / 0.6334 GB, free: 2.969 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.563e-05/0.1617, allocations: 8 kB / 0.6334 GB, free: 2.961 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.601e-05/0.1617, allocations: 23.98 kB / 0.6334 GB, free: 2.938 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003326/0.1621, allocations: 264.8 kB / 0.6337 GB, free: 2.629 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.471e-05/0.1621, allocations: 18.58 kB / 0.6337 GB, free: 2.602 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.854e-05/0.1622, allocations: 8.859 kB / 0.6337 GB, free: 2.59 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.965e-06/0.1622, allocations: 0 / 0.6337 GB, free: 2.59 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.1622, allocations: 46.55 kB / 0.6337 GB, free: 2.535 MB / 478.1 MB Notification: Performance of pre-optimization done (n=1): time 1.173e-06/0.1622, allocations: 0 / 0.6337 GB, free: 2.535 MB / 478.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001784/0.1624, allocations: 63.31 kB / 0.6338 GB, free: 2.461 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.1624, allocations: 77.11 kB / 0.6339 GB, free: 2.367 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.112e-05/0.1625, allocations: 121.8 kB / 0.634 GB, free: 2.238 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.1626, allocations: 25.7 kB / 0.634 GB, free: 2.207 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.957e-05/0.1626, allocations: 104 kB / 0.6341 GB, free: 2.102 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.236e-05/0.1626, allocations: 4 kB / 0.6341 GB, free: 2.098 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.111e-05/0.1627, allocations: 29.95 kB / 0.6341 GB, free: 2.062 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.1629, allocations: 318.8 kB / 0.6345 GB, free: 1.742 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.49e-05/0.1629, allocations: 15.92 kB / 0.6345 GB, free: 1.727 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.96e-05/0.163, allocations: 58.81 kB / 0.6345 GB, free: 1.645 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001029/0.1631, allocations: 134.2 kB / 0.6347 GB, free: 1.477 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.1631, allocations: 0 / 0.6347 GB, free: 1.477 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001407/0.1632, allocations: 123.1 kB / 0.6348 GB, free: 1.344 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.933e-05/0.1633, allocations: 37.7 kB / 0.6348 GB, free: 1.301 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1633, allocations: 0 / 0.6348 GB, free: 1.301 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.1633, allocations: 4.25 kB / 0.6348 GB, free: 1.297 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.843e-05/0.1634, allocations: 19.94 kB / 0.6348 GB, free: 1.277 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.495e-06/0.1634, allocations: 4 kB / 0.6348 GB, free: 1.273 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.332e-05/0.1634, allocations: 11.84 kB / 0.6348 GB, free: 1.262 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.637e-05/0.1635, allocations: 11.98 kB / 0.6349 GB, free: 1.25 MB / 478.1 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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.622e-05/0.1635, allocations: 143.5 kB / 0.635 GB, free: 1.094 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.215e-05/0.1636, allocations: 0 / 0.635 GB, free: 1.094 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.182e-05/0.1636, allocations: 7.531 kB / 0.635 GB, free: 1.082 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.1636, allocations: 0 / 0.635 GB, free: 1.082 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.1636, allocations: 0 / 0.635 GB, free: 1.082 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.1636, allocations: 7.984 kB / 0.635 GB, free: 1.074 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001333/0.1638, allocations: 153.6 kB / 0.6352 GB, free: 0.875 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1638, allocations: 0 / 0.6352 GB, free: 0.875 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.883e-06/0.1638, allocations: 3.984 kB / 0.6352 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-06/0.1638, allocations: 7.938 kB / 0.6352 GB, free: 0.8633 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.862e-06/0.1638, allocations: 0 / 0.6352 GB, free: 0.8633 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.1638, allocations: 0 / 0.6352 GB, free: 0.8633 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1638, allocations: 0 / 0.6352 GB, free: 0.8633 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001031/0.1639, allocations: 169.2 kB / 0.6353 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.439e-05/0.1639, allocations: 81.02 kB / 0.6354 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.164, allocations: 4 kB / 0.6354 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.123e-05/0.164, allocations: 0 / 0.6354 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.562e-05/0.164, allocations: 3.984 kB / 0.6354 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.164, allocations: 4 kB / 0.6354 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of sorting global known variables: time 4.438e-05/0.1641, allocations: 91.27 kB / 0.6355 GB, free: 488 kB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1641, allocations: 0 / 0.6355 GB, free: 488 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002299/0.1643, allocations: 11.94 kB / 0.6355 GB, free: 476 kB / 478.1 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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001429/0.1645, allocations: 107.3 kB / 0.6356 GB, free: 360 kB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0001308/0.1646, allocations: 87.27 kB / 0.6357 GB, free: 260 kB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1646, allocations: 0 / 0.6357 GB, free: 260 kB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 3.073e-05/0.1647, allocations: 59.39 kB / 0.6358 GB, free: 188 kB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00021/0.1649, allocations: 8 kB / 0.6358 GB, free: 180 kB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002189/0.1651, allocations: 109.5 kB / 0.6359 GB, free: 44 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000236/0.1654, allocations: 0.6807 MB / 0.6365 GB, free: 15.34 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.098e-05/0.1654, allocations: 11.92 kB / 0.6365 GB, free: 15.32 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.149e-05/0.1655, allocations: 11.44 kB / 0.6366 GB, free: 15.31 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1655, allocations: 0 / 0.6366 GB, free: 15.31 MB / 494.1 MB Notification: Performance of Templates: time 0.002468/0.1679, allocations: 0.5232 MB / 0.6371 GB, free: 14.8 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)