Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.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.SmoothLimit,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothLimit",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.00177/0.00177, allocations: 101.9 kB / 16.4 MB, free: 6.508 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.001625/0.001625, allocations: 192 kB / 17.34 MB, free: 5.738 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.478/1.478, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8932/0.8932, allocations: 126.7 MB / 417.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 65.08 kB / 0.5735 GB, free: 27.15 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1771/0.179, allocations: 78.86 MB / 0.6506 GB, free: 3.59 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.003071/0.1821, allocations: 1.462 MB / 0.652 GB, free: 2.117 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001103/0.1833, allocations: 0.5675 MB / 0.6525 GB, free: 1.543 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.631e-05/0.1833, allocations: 0 / 0.6525 GB, free: 1.543 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.214e-05/0.1834, allocations: 3.938 kB / 0.6525 GB, free: 1.539 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.993e-05/0.1834, allocations: 3.938 kB / 0.6525 GB, free: 1.535 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003479/0.1838, allocations: 55.83 kB / 0.6526 GB, free: 1.48 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.04e-05/0.1839, allocations: 23.92 kB / 0.6526 GB, free: 1.457 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.184, allocations: 15.92 kB / 0.6526 GB, free: 1.441 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.138e-05/0.1841, allocations: 11.98 kB / 0.6526 GB, free: 1.43 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.363e-05/0.1842, allocations: 11.92 kB / 0.6527 GB, free: 1.418 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.1842, allocations: 4 kB / 0.6527 GB, free: 1.414 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001433/0.1844, allocations: 51.95 kB / 0.6527 GB, free: 1.363 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.133e-05/0.1844, allocations: 11.94 kB / 0.6527 GB, free: 1.352 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.64e-05/0.1844, allocations: 11.94 kB / 0.6527 GB, free: 1.34 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001777/0.1846, allocations: 64.08 kB / 0.6528 GB, free: 1.277 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.1846, allocations: 0 / 0.6528 GB, free: 1.277 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1846, allocations: 0 / 0.6528 GB, free: 1.277 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.1846, allocations: 0 / 0.6528 GB, free: 1.277 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.00049/0.1851, allocations: 355.2 kB / 0.6531 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.1852, allocations: 11.97 kB / 0.6531 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.107e-05/0.1852, allocations: 30.75 kB / 0.6532 GB, free: 0.832 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.911e-05/0.1853, allocations: 4.938 kB / 0.6532 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.1854, allocations: 180.2 kB / 0.6533 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.1854, allocations: 384 / 0.6534 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.819e-06/0.1854, allocations: 4.375 kB / 0.6534 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.1856, allocations: 45.81 kB / 0.6534 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.1856, allocations: 3.938 kB / 0.6534 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.1856, allocations: 0 / 0.6534 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.1856, allocations: 0 / 0.6534 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.522e-05/0.1857, allocations: 19.98 kB / 0.6534 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003667/0.1861, allocations: 260.8 kB / 0.6537 GB, free: 236 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.189e-05/0.1862, allocations: 30.58 kB / 0.6537 GB, free: 196 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.092e-05/0.1863, allocations: 20.84 kB / 0.6537 GB, free: 172 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008823/0.1872, allocations: 477.4 kB / 0.6542 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.1872, allocations: 34.56 kB / 0.6542 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.573e-06/0.1872, allocations: 0 / 0.6542 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0002594/0.1875, allocations: 69.61 kB / 0.6543 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.1875, allocations: 51.41 kB / 0.6543 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.728e-05/0.1876, allocations: 106 kB / 0.6544 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.1877, allocations: 33.7 kB / 0.6545 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.916e-05/0.1877, allocations: 84.14 kB / 0.6545 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.588e-05/0.1877, allocations: 3.953 kB / 0.6545 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.636e-05/0.1878, allocations: 13.72 kB / 0.6546 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.1879, allocations: 322.8 kB / 0.6549 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.496e-05/0.188, allocations: 8 kB / 0.6549 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.917e-05/0.188, allocations: 11.98 kB / 0.6549 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.129e-05/0.1881, allocations: 28.91 kB / 0.6549 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1881, allocations: 0 / 0.6549 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001283/0.1883, allocations: 57.58 kB / 0.655 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.1883, allocations: 8 kB / 0.655 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.1883, allocations: 0 / 0.655 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.1883, allocations: 0 / 0.655 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.248e-05/0.1884, allocations: 7.984 kB / 0.655 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.1884, allocations: 0 / 0.655 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.337e-05/0.1884, allocations: 8.031 kB / 0.655 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.1884, allocations: 0 / 0.655 GB, free: 14.71 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 9.042e-05/0.1885, allocations: 113.8 kB / 0.6551 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.604e-05/0.1886, allocations: 4 kB / 0.6551 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001733/0.1888, allocations: 65.14 kB / 0.6552 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1888, allocations: 0 / 0.6552 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.1888, allocations: 0 / 0.6552 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.1888, allocations: 32 / 0.6552 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001948/0.189, allocations: 173.5 kB / 0.6553 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.189, allocations: 0 / 0.6553 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.295e-05/0.189, allocations: 4 kB / 0.6553 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.1891, allocations: 0 / 0.6553 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.1891, allocations: 3.984 kB / 0.6553 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.1891, allocations: 0 / 0.6553 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1891, allocations: 11.88 kB / 0.6553 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001902/0.1893, allocations: 151.5 kB / 0.6555 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.095e-05/0.1893, allocations: 81.05 kB / 0.6556 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.1894, allocations: 7.922 kB / 0.6556 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.93e-05/0.1894, allocations: 7.984 kB / 0.6556 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.894e-05/0.1895, allocations: 0 / 0.6556 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.1895, allocations: 4 kB / 0.6556 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.708e-05/0.1895, allocations: 91.58 kB / 0.6557 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1895, allocations: 0 / 0.6557 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002377/0.1898, allocations: 12 kB / 0.6557 GB, free: 13.89 MB / 0.4981 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 (2): * Single equations (assignments): 2 * 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.0005988/0.1904, allocations: 0.7045 MB / 0.6564 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001439/0.1906, allocations: 23.92 kB / 0.6564 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1906, allocations: 0 / 0.6564 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.773e-05/0.1906, allocations: 20.08 kB / 0.6564 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002152/0.1908, allocations: 4 kB / 0.6564 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004673/0.1913, allocations: 152.3 kB / 0.6566 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.1916, allocations: 0.6768 MB / 0.6572 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.935e-05/0.1917, allocations: 4 kB / 0.6572 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.332e-05/0.1917, allocations: 7.438 kB / 0.6572 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of SimCode: time 5.81e-07/0.1917, allocations: 4.062 kB / 0.6572 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02416/0.2159, allocations: 1.611 MB / 0.6588 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.902/8.118, allocations: 3.25 kB / 0.6588 GB, free: 10.66 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit_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_SmoothLimit.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)