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.001073/0.001073, allocations: 107 kB / 16.4 MB, free: 6.492 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.001667/0.001667, allocations: 189.2 kB / 17.34 MB, free: 5.742 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.371/1.371, 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.7337/0.7337, allocations: 115.3 MB / 406.5 MB, free: 6.211 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 61.36 kB / 0.5572 GB, free: 32.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1738, allocations: 76.18 MB / 0.6316 GB, free: 4.871 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.003277/0.1771, allocations: 1.765 MB / 0.6333 GB, free: 3.09 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001375/0.1785, allocations: 0.6631 MB / 0.634 GB, free: 2.418 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.1786, allocations: 4 kB / 0.634 GB, free: 2.414 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 6.076e-05/0.1787, allocations: 11.86 kB / 0.634 GB, free: 2.402 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 9.106e-05/0.1788, allocations: 15.81 kB / 0.634 GB, free: 2.387 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000668/0.1795, allocations: 164.9 kB / 0.6342 GB, free: 2.23 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001786/0.1797, allocations: 119.7 kB / 0.6343 GB, free: 2.113 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.1799, allocations: 45.11 kB / 0.6343 GB, free: 2.07 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001401/0.18, allocations: 63.7 kB / 0.6344 GB, free: 2.008 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.1801, allocations: 55.75 kB / 0.6344 GB, free: 1.953 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.837e-05/0.1802, allocations: 12 kB / 0.6344 GB, free: 1.941 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001265/0.1803, allocations: 47.97 kB / 0.6345 GB, free: 1.895 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 3.637e-05/0.1803, allocations: 27.91 kB / 0.6345 GB, free: 1.867 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 6.384e-05/0.1804, allocations: 59.7 kB / 0.6346 GB, free: 1.809 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002194/0.1806, allocations: 142.4 kB / 0.6347 GB, free: 1.672 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1806, allocations: 0 / 0.6347 GB, free: 1.672 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1806, allocations: 0 / 0.6347 GB, free: 1.672 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.211e-05/0.1807, allocations: 0 / 0.6347 GB, free: 1.672 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006525/0.1813, allocations: 439.8 kB / 0.6351 GB, free: 1.195 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.1814, allocations: 12.03 kB / 0.6351 GB, free: 1.184 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.757e-05/0.1814, allocations: 42.73 kB / 0.6352 GB, free: 1.133 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008673/0.1823, allocations: 104.7 kB / 0.6353 GB, free: 1.031 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.1825, allocations: 196 kB / 0.6355 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/0.1826, allocations: 71.95 kB / 0.6355 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.536e-05/0.1826, allocations: 8.375 kB / 0.6355 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005217/0.1831, allocations: 166.9 kB / 0.6357 GB, free: 0.543 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.1832, allocations: 0 / 0.6357 GB, free: 0.543 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.24e-05/0.1832, allocations: 8 kB / 0.6357 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.1832, allocations: 0 / 0.6357 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005668/0.1838, allocations: 159.8 kB / 0.6359 GB, free: 388 kB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001095/0.1849, allocations: 493.5 kB / 0.6363 GB, free: 15.85 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009911/0.1859, allocations: 222.3 kB / 0.6365 GB, free: 15.62 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002704/0.1862, allocations: 76.91 kB / 0.6366 GB, free: 15.54 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.1862, allocations: 0 / 0.6366 GB, free: 15.54 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.1862, allocations: 38.55 kB / 0.6366 GB, free: 15.5 MB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.1862, allocations: 4 kB / 0.6367 GB, free: 15.49 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0009906/0.1872, allocations: 257.4 kB / 0.6369 GB, free: 15.23 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.907e-05/0.1873, allocations: 59.41 kB / 0.637 GB, free: 15.16 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.1874, allocations: 143.8 kB / 0.6371 GB, free: 15.02 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.746e-05/0.1875, allocations: 33.64 kB / 0.6371 GB, free: 14.98 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.285e-05/0.1875, allocations: 108.2 kB / 0.6372 GB, free: 14.87 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.049e-05/0.1876, allocations: 23.66 kB / 0.6372 GB, free: 14.84 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.378e-05/0.1877, allocations: 25.7 kB / 0.6373 GB, free: 14.81 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.1878, allocations: 318.8 kB / 0.6376 GB, free: 14.49 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002826/0.1881, allocations: 75.92 kB / 0.6376 GB, free: 14.42 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002914/0.1884, allocations: 94.48 kB / 0.6377 GB, free: 14.32 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000545/0.1889, allocations: 166.4 kB / 0.6379 GB, free: 14.14 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.189, allocations: 0 / 0.6379 GB, free: 14.14 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006594/0.1896, allocations: 205.4 kB / 0.6381 GB, free: 13.94 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.1897, allocations: 4 kB / 0.6381 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.1897, allocations: 7.938 kB / 0.6381 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.1897, allocations: 0 / 0.6381 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002668/0.19, allocations: 35.95 kB / 0.6381 GB, free: 13.89 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.19, allocations: 0 / 0.6381 GB, free: 13.89 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001919/0.1902, allocations: 32.02 kB / 0.6382 GB, free: 13.86 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.756e-05/0.1902, allocations: 4.312 kB / 0.6382 GB, free: 13.86 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.0001178/0.1903, allocations: 121.7 kB / 0.6383 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.834e-05/0.1904, allocations: 7.906 kB / 0.6383 GB, free: 13.72 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006996/0.1911, allocations: 210.2 kB / 0.6385 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.1911, allocations: 0 / 0.6385 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1911, allocations: 4 kB / 0.6385 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.1911, allocations: 0 / 0.6385 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002412/0.1914, allocations: 238.3 kB / 0.6387 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1914, allocations: 0 / 0.6387 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002305/0.1916, allocations: 39.89 kB / 0.6388 GB, free: 13.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.1916, allocations: 0 / 0.6388 GB, free: 13.18 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.1916, allocations: 3.938 kB / 0.6388 GB, free: 13.17 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.1917, allocations: 3.984 kB / 0.6388 GB, free: 13.17 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1917, allocations: 0 / 0.6388 GB, free: 13.17 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006441/0.1923, allocations: 279.3 kB / 0.639 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.165e-05/0.1924, allocations: 89 kB / 0.6391 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.699e-05/0.1924, allocations: 7.938 kB / 0.6391 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002931/0.1927, allocations: 27.95 kB / 0.6392 GB, free: 12.74 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.954e-05/0.1927, allocations: 4 kB / 0.6392 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/0.1928, allocations: 7.984 kB / 0.6392 GB, free: 12.73 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.269e-05/0.1928, allocations: 112.1 kB / 0.6393 GB, free: 12.62 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1929, allocations: 0 / 0.6393 GB, free: 12.62 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002764/0.1931, allocations: 24 kB / 0.6393 GB, free: 12.59 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.0009997/0.1941, allocations: 0.8215 MB / 0.6401 GB, free: 11.75 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006512/0.1948, allocations: 167.7 kB / 0.6403 GB, free: 11.58 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1948, allocations: 0 / 0.6403 GB, free: 11.58 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00028/0.1951, allocations: 80.23 kB / 0.6403 GB, free: 11.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/0.1954, allocations: 15.84 kB / 0.6404 GB, free: 11.49 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002982/0.1984, allocations: 1.834 MB / 0.6421 GB, free: 9.566 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000306/0.1988, allocations: 0.7002 MB / 0.6428 GB, free: 8.84 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.694e-05/0.1989, allocations: 12 kB / 0.6428 GB, free: 8.828 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.566e-05/0.1989, allocations: 31.42 kB / 0.6429 GB, free: 8.797 MB / 494.1 MB Notification: Performance of SimCode: time 3.51e-07/0.199, allocations: 4 kB / 0.6429 GB, free: 8.793 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02041/0.2194, allocations: 2.795 MB / 0.6456 GB, free: 6.074 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.601/7.821, allocations: 3.938 kB / 0.6456 GB, free: 6.07 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothBlocks.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)