Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.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: "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 107.4 kB / 16.41 MB, free: 6.496 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.001564/0.001564, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.508/1.508, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8388/0.8388, allocations: 122.8 MB / 414.1 MB, free: 15.76 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 61.86 kB / 0.568 GB, free: 28.93 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1629, allocations: 77.94 MB / 0.6441 GB, free: 9.5 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.003328/0.1663, allocations: 1.76 MB / 0.6458 GB, free: 7.734 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001468/0.1678, allocations: 0.6682 MB / 0.6464 GB, free: 7.059 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.1679, allocations: 0 / 0.6464 GB, free: 7.059 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.608e-05/0.168, allocations: 11.86 kB / 0.6465 GB, free: 7.047 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.602e-05/0.1681, allocations: 11.81 kB / 0.6465 GB, free: 7.035 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006922/0.1688, allocations: 168.3 kB / 0.6466 GB, free: 6.875 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002214/0.169, allocations: 131.6 kB / 0.6468 GB, free: 6.746 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001578/0.1692, allocations: 41.11 kB / 0.6468 GB, free: 6.707 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001691/0.1694, allocations: 67.83 kB / 0.6469 GB, free: 6.641 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.1695, allocations: 51.75 kB / 0.6469 GB, free: 6.59 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.162e-05/0.1695, allocations: 8 kB / 0.6469 GB, free: 6.582 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001564/0.1697, allocations: 43.97 kB / 0.647 GB, free: 6.539 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.038e-05/0.1698, allocations: 35.84 kB / 0.647 GB, free: 6.504 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.717e-05/0.1698, allocations: 55.7 kB / 0.647 GB, free: 6.449 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002679/0.1701, allocations: 151.6 kB / 0.6472 GB, free: 6.301 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.615e-06/0.1701, allocations: 4 kB / 0.6472 GB, free: 6.297 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1701, allocations: 0 / 0.6472 GB, free: 6.297 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.1701, allocations: 0 / 0.6472 GB, free: 6.297 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.000797/0.1709, allocations: 438.8 kB / 0.6476 GB, free: 5.82 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.171, allocations: 8.625 kB / 0.6476 GB, free: 5.812 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.923e-05/0.1711, allocations: 46.73 kB / 0.6477 GB, free: 5.758 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000864/0.1719, allocations: 112.7 kB / 0.6478 GB, free: 5.648 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001659/0.1721, allocations: 180.2 kB / 0.6479 GB, free: 5.434 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001285/0.1722, allocations: 75.8 kB / 0.648 GB, free: 5.348 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.842e-05/0.1723, allocations: 8.375 kB / 0.648 GB, free: 5.34 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005387/0.1728, allocations: 173.4 kB / 0.6482 GB, free: 5.164 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.1729, allocations: 3.984 kB / 0.6482 GB, free: 5.16 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.397e-05/0.1729, allocations: 4 kB / 0.6482 GB, free: 5.156 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.1729, allocations: 0 / 0.6482 GB, free: 5.156 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006137/0.1735, allocations: 159.8 kB / 0.6483 GB, free: 5 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001216/0.1747, allocations: 477.8 kB / 0.6488 GB, free: 4.48 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/0.1758, allocations: 222.3 kB / 0.649 GB, free: 4.254 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003066/0.1761, allocations: 80.91 kB / 0.6491 GB, free: 4.172 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.705e-05/0.1762, allocations: 4 kB / 0.6491 GB, free: 4.168 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/0.1762, allocations: 34.5 kB / 0.6491 GB, free: 4.125 MB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.1762, allocations: 0 / 0.6491 GB, free: 4.125 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.001078/0.1773, allocations: 269.5 kB / 0.6494 GB, free: 3.855 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/0.1774, allocations: 51.41 kB / 0.6494 GB, free: 3.793 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.1775, allocations: 142.5 kB / 0.6496 GB, free: 3.645 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.833e-05/0.1775, allocations: 25.7 kB / 0.6496 GB, free: 3.613 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.642e-05/0.1776, allocations: 116.2 kB / 0.6497 GB, free: 3.496 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.832e-05/0.1776, allocations: 19.84 kB / 0.6497 GB, free: 3.477 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.613e-05/0.1777, allocations: 29.7 kB / 0.6498 GB, free: 3.441 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.1778, allocations: 314.8 kB / 0.6501 GB, free: 3.125 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003152/0.1782, allocations: 75.98 kB / 0.6501 GB, free: 3.051 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003161/0.1785, allocations: 102.4 kB / 0.6502 GB, free: 2.941 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006383/0.1791, allocations: 162.4 kB / 0.6504 GB, free: 2.773 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.1792, allocations: 0 / 0.6504 GB, free: 2.773 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006986/0.1799, allocations: 197.4 kB / 0.6506 GB, free: 2.574 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.1799, allocations: 12.06 kB / 0.6506 GB, free: 2.562 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.1799, allocations: 3.938 kB / 0.6506 GB, free: 2.559 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.1799, allocations: 0 / 0.6506 GB, free: 2.559 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003076/0.1803, allocations: 43.89 kB / 0.6506 GB, free: 2.516 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.749e-06/0.1803, allocations: 3.938 kB / 0.6506 GB, free: 2.512 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002075/0.1805, allocations: 27.84 kB / 0.6507 GB, free: 2.484 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.098e-05/0.1805, allocations: 7.984 kB / 0.6507 GB, free: 2.477 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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): 8 * Array equations: 0 * Algorithm blocks: 0 * 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 0.0001423/0.1807, allocations: 117.8 kB / 0.6508 GB, free: 2.352 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.678e-05/0.1807, allocations: 7.953 kB / 0.6508 GB, free: 2.344 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000777/0.1815, allocations: 210.1 kB / 0.651 GB, free: 2.129 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.1815, allocations: 4 kB / 0.651 GB, free: 2.125 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.1815, allocations: 0 / 0.651 GB, free: 2.125 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.1816, allocations: 0 / 0.651 GB, free: 2.125 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003235/0.1819, allocations: 238.2 kB / 0.6512 GB, free: 1.844 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.1819, allocations: 0 / 0.6512 GB, free: 1.844 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000235/0.1821, allocations: 31.95 kB / 0.6512 GB, free: 1.812 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.1822, allocations: 0 / 0.6512 GB, free: 1.812 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.898e-05/0.1822, allocations: 3.938 kB / 0.6512 GB, free: 1.809 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.1822, allocations: 128 / 0.6512 GB, free: 1.809 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.1822, allocations: 12 kB / 0.6513 GB, free: 1.797 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007882/0.183, allocations: 279.3 kB / 0.6515 GB, free: 1.508 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.084e-05/0.1831, allocations: 89.05 kB / 0.6516 GB, free: 1.402 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.285e-05/0.1831, allocations: 11.88 kB / 0.6516 GB, free: 1.391 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003837/0.1835, allocations: 27.95 kB / 0.6516 GB, free: 1.363 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.667e-05/0.1836, allocations: 4 kB / 0.6517 GB, free: 1.359 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.271e-05/0.1836, allocations: 11.98 kB / 0.6517 GB, free: 1.348 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001086/0.1838, allocations: 109.3 kB / 0.6518 GB, free: 1.242 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1838, allocations: 0 / 0.6518 GB, free: 1.242 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004796/0.1842, allocations: 27.89 kB / 0.6518 GB, free: 1.215 MB / 494.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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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.00105/0.1853, allocations: 0.8138 MB / 0.6526 GB, free: 384 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006639/0.186, allocations: 167.8 kB / 0.6527 GB, free: 216 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.186, allocations: 0 / 0.6527 GB, free: 216 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000306/0.1863, allocations: 83.98 kB / 0.6528 GB, free: 132 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003654/0.1867, allocations: 9.719 kB / 0.6528 GB, free: 124 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003178/0.1899, allocations: 1.84 MB / 0.6546 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002639/0.1902, allocations: 0.7002 MB / 0.6553 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.967e-05/0.1903, allocations: 16 kB / 0.6553 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.105e-05/0.1904, allocations: 31.36 kB / 0.6554 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of SimCode: time 3.01e-07/0.1904, allocations: 0 / 0.6554 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02079/0.2112, allocations: 2.755 MB / 0.6581 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.582/7.793, allocations: 2.656 kB / 0.6581 GB, free: 10.73 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothBlocks.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)