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.001382/0.001382, allocations: 105.3 kB / 16.4 MB, free: 6.52 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.001919/0.00192, allocations: 192 kB / 17.34 MB, free: 5.734 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.44/1.44, 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.8065/0.8065, allocations: 126.7 MB / 417.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 66.95 kB / 0.5735 GB, free: 27.24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.1837, allocations: 78.87 MB / 0.6506 GB, free: 3.688 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.003062/0.1868, allocations: 1.773 MB / 0.6523 GB, free: 1.906 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001223/0.188, allocations: 0.6554 MB / 0.6529 GB, free: 1.242 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.503e-05/0.1881, allocations: 4 kB / 0.6529 GB, free: 1.238 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.472e-05/0.1881, allocations: 15.81 kB / 0.653 GB, free: 1.223 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.279e-05/0.1882, allocations: 19.78 kB / 0.653 GB, free: 1.203 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005787/0.1888, allocations: 166.8 kB / 0.6531 GB, free: 1.043 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001784/0.189, allocations: 119.7 kB / 0.6532 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.1891, allocations: 45.09 kB / 0.6533 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.1893, allocations: 67.83 kB / 0.6534 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.341e-05/0.1894, allocations: 47.77 kB / 0.6534 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.068e-05/0.1894, allocations: 15.94 kB / 0.6534 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001192/0.1896, allocations: 43.97 kB / 0.6535 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.188e-05/0.1896, allocations: 27.91 kB / 0.6535 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.921e-05/0.1897, allocations: 59.7 kB / 0.6535 GB, free: 0.625 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002337/0.1899, allocations: 151.6 kB / 0.6537 GB, free: 488 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.247e-06/0.1899, allocations: 0 / 0.6537 GB, free: 488 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1899, allocations: 0 / 0.6537 GB, free: 488 kB / 494.1 MB Notification: Performance of Transformations before backend: time 8.676e-06/0.1899, allocations: 0 / 0.6537 GB, free: 488 kB / 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.0006349/0.1906, allocations: 444.4 kB / 0.6541 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.1906, allocations: 12.03 kB / 0.6541 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.711e-05/0.1907, allocations: 38.69 kB / 0.6542 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008439/0.1915, allocations: 112.7 kB / 0.6543 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/0.1917, allocations: 188.2 kB / 0.6544 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.6e-05/0.1918, allocations: 63.91 kB / 0.6545 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.21e-05/0.1918, allocations: 8.375 kB / 0.6545 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005366/0.1924, allocations: 165.5 kB / 0.6547 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.1924, allocations: 0 / 0.6547 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.456e-05/0.1924, allocations: 12 kB / 0.6547 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.1924, allocations: 0 / 0.6547 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006561/0.1931, allocations: 155.8 kB / 0.6548 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001143/0.1942, allocations: 497.3 kB / 0.6553 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001091/0.1953, allocations: 222.2 kB / 0.6555 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000326/0.1957, allocations: 84.89 kB / 0.6556 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.1957, allocations: 0 / 0.6556 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.918e-05/0.1958, allocations: 38.56 kB / 0.6556 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.1958, allocations: 0 / 0.6556 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.001109/0.1969, allocations: 269.3 kB / 0.6559 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.1969, allocations: 51.41 kB / 0.6559 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.1971, allocations: 143.5 kB / 0.6561 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.724e-05/0.1971, allocations: 25.7 kB / 0.6561 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.436e-05/0.1972, allocations: 112.2 kB / 0.6562 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.43e-05/0.1972, allocations: 15.89 kB / 0.6562 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.048e-05/0.1973, allocations: 21.72 kB / 0.6562 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.1974, allocations: 322.8 kB / 0.6565 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003315/0.1978, allocations: 71.92 kB / 0.6566 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003558/0.1981, allocations: 94.48 kB / 0.6567 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006619/0.1988, allocations: 166.4 kB / 0.6569 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.1988, allocations: 0 / 0.6569 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007402/0.1996, allocations: 205.4 kB / 0.6571 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.1996, allocations: 4 kB / 0.6571 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.1996, allocations: 8.094 kB / 0.6571 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.1996, allocations: 0 / 0.6571 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002868/0.1999, allocations: 43.94 kB / 0.6571 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.2, allocations: 15.92 kB / 0.6571 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001995/0.2002, allocations: 23.91 kB / 0.6572 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.2002, allocations: 4 kB / 0.6572 GB, free: 12.66 MB / 0.4981 GB 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.0001113/0.2003, allocations: 113.8 kB / 0.6573 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.363e-05/0.2003, allocations: 7.953 kB / 0.6573 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000795/0.2011, allocations: 214.1 kB / 0.6575 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.2012, allocations: 0 / 0.6575 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.2012, allocations: 0 / 0.6575 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.2012, allocations: 4 kB / 0.6575 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002904/0.2015, allocations: 234.4 kB / 0.6577 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.2015, allocations: 4 kB / 0.6577 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002671/0.2018, allocations: 36.31 kB / 0.6577 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.2018, allocations: 0 / 0.6577 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/0.2018, allocations: 7.938 kB / 0.6578 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-06/0.2018, allocations: 0 / 0.6578 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2018, allocations: 0 / 0.6578 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007745/0.2026, allocations: 291.3 kB / 0.658 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.389e-05/0.2026, allocations: 85.06 kB / 0.6581 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.312e-05/0.2027, allocations: 3.938 kB / 0.6581 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003166/0.203, allocations: 27.95 kB / 0.6581 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.496e-05/0.2031, allocations: 11.98 kB / 0.6582 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.487e-05/0.2031, allocations: 11.98 kB / 0.6582 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.648e-05/0.2032, allocations: 101.3 kB / 0.6583 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2032, allocations: 4 kB / 0.6583 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002647/0.2034, allocations: 19.94 kB / 0.6583 GB, free: 11.4 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 (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.001098/0.2045, allocations: 0.8215 MB / 0.6591 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007251/0.2053, allocations: 167.8 kB / 0.6592 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.2053, allocations: 0 / 0.6592 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003426/0.2056, allocations: 83.84 kB / 0.6593 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003315/0.206, allocations: 6.031 kB / 0.6593 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003359/0.2094, allocations: 1.84 MB / 0.6611 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.2097, allocations: 0.7041 MB / 0.6618 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.885e-05/0.2098, allocations: 15.98 kB / 0.6618 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.68e-05/0.2099, allocations: 39.28 kB / 0.6619 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of SimCode: time 3.51e-07/0.2099, allocations: 0 / 0.6619 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09355/0.3035, allocations: 2.743 MB / 0.6645 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.271/8.574, allocations: 12.02 kB / 0.6646 GB, free: 4.91 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)