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.001016/0.00102, allocations: 98.81 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001884/0.001884, allocations: 185 kB / 16.92 MB, free: 6.754 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.428/1.428, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7025/0.7025, allocations: 115.5 MB / 407.6 MB, free: 2.672 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003404/0.0003404, allocations: 9.281 kB / 496 MB, free: 6.254 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1663, allocations: 77.54 MB / 0.5601 GB, free: 8.922 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.002539/0.1689, allocations: 1.475 MB / 0.5615 GB, free: 7.434 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001425/0.1703, allocations: 0.64 MB / 0.5621 GB, free: 6.785 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001111/0.1705, allocations: 0 / 0.5621 GB, free: 6.785 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 4.783e-05/0.1705, allocations: 7.922 kB / 0.5621 GB, free: 6.777 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001144/0.1707, allocations: 11.88 kB / 0.5621 GB, free: 6.766 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007232/0.1714, allocations: 163.1 kB / 0.5623 GB, free: 6.609 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002128/0.1716, allocations: 115.7 kB / 0.5624 GB, free: 6.496 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001892/0.1718, allocations: 45.09 kB / 0.5624 GB, free: 6.453 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001745/0.172, allocations: 51.77 kB / 0.5625 GB, free: 6.402 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.1721, allocations: 39.72 kB / 0.5625 GB, free: 6.363 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.232e-05/0.1721, allocations: 4 kB / 0.5625 GB, free: 6.359 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000153/0.1723, allocations: 43.95 kB / 0.5626 GB, free: 6.316 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.998e-05/0.1723, allocations: 15.92 kB / 0.5626 GB, free: 6.301 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001196/0.1725, allocations: 77.41 kB / 0.5627 GB, free: 6.219 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002795/0.1728, allocations: 127.8 kB / 0.5628 GB, free: 6.094 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.1728, allocations: 4 kB / 0.5628 GB, free: 6.09 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.376e-06/0.1728, allocations: 4 kB / 0.5628 GB, free: 6.086 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.375e-06/0.1728, allocations: 0 / 0.5628 GB, free: 6.086 MB / 430.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.000788/0.1736, allocations: 411.1 kB / 0.5632 GB, free: 5.637 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.181e-05/0.1737, allocations: 15.97 kB / 0.5632 GB, free: 5.621 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.245e-05/0.1738, allocations: 42.75 kB / 0.5632 GB, free: 5.57 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009788/0.1747, allocations: 140.6 kB / 0.5634 GB, free: 5.434 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002551/0.175, allocations: 184.2 kB / 0.5636 GB, free: 5.215 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001152/0.1751, allocations: 67.91 kB / 0.5636 GB, free: 5.137 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.966e-05/0.1752, allocations: 12.38 kB / 0.5636 GB, free: 5.125 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006028/0.1758, allocations: 191.5 kB / 0.5638 GB, free: 4.934 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.1758, allocations: 3.938 kB / 0.5638 GB, free: 4.93 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.427e-05/0.1758, allocations: 8 kB / 0.5638 GB, free: 4.922 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.1758, allocations: 4 kB / 0.5638 GB, free: 4.918 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007081/0.1765, allocations: 195.7 kB / 0.564 GB, free: 4.727 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001233/0.1778, allocations: 0.494 MB / 0.5645 GB, free: 4.18 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001137/0.1789, allocations: 266.3 kB / 0.5648 GB, free: 3.91 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003399/0.1793, allocations: 100.8 kB / 0.5648 GB, free: 3.809 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.201e-05/0.1793, allocations: 4 kB / 0.5649 GB, free: 3.805 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.1794, allocations: 34.56 kB / 0.5649 GB, free: 3.762 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.1794, allocations: 0 / 0.5649 GB, free: 3.762 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.001206/0.1806, allocations: 313.5 kB / 0.5652 GB, free: 3.449 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.1806, allocations: 55.41 kB / 0.5652 GB, free: 3.383 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.1808, allocations: 139.9 kB / 0.5654 GB, free: 3.238 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.807e-05/0.1808, allocations: 25.7 kB / 0.5654 GB, free: 3.207 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.043e-05/0.1809, allocations: 112.2 kB / 0.5655 GB, free: 3.094 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.113e-05/0.181, allocations: 23.64 kB / 0.5655 GB, free: 3.07 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.966e-05/0.181, allocations: 13.72 kB / 0.5655 GB, free: 3.051 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.1812, allocations: 322.8 kB / 0.5658 GB, free: 2.727 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003473/0.1815, allocations: 91.86 kB / 0.5659 GB, free: 2.637 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003583/0.1819, allocations: 118.5 kB / 0.566 GB, free: 2.512 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006846/0.1826, allocations: 198.4 kB / 0.5662 GB, free: 2.309 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1826, allocations: 0 / 0.5662 GB, free: 2.309 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007849/0.1834, allocations: 241.4 kB / 0.5665 GB, free: 2.066 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.1834, allocations: 12 kB / 0.5665 GB, free: 2.055 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.947e-05/0.1834, allocations: 4.25 kB / 0.5665 GB, free: 2.051 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.1835, allocations: 0 / 0.5665 GB, free: 2.051 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002831/0.1837, allocations: 51.89 kB / 0.5665 GB, free: 2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.1838, allocations: 0 / 0.5665 GB, free: 2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002176/0.184, allocations: 31.97 kB / 0.5666 GB, free: 1.969 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.184, allocations: 7.984 kB / 0.5666 GB, free: 1.961 MB / 430.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.0001268/0.1841, allocations: 117.8 kB / 0.5667 GB, free: 1.836 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.655e-05/0.1842, allocations: 7.906 kB / 0.5667 GB, free: 1.828 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008652/0.1851, allocations: 246.1 kB / 0.5669 GB, free: 1.582 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.1851, allocations: 7.984 kB / 0.5669 GB, free: 1.574 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.1851, allocations: 0 / 0.5669 GB, free: 1.574 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.1851, allocations: 0 / 0.5669 GB, free: 1.574 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003012/0.1854, allocations: 245.9 kB / 0.5672 GB, free: 1.285 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1854, allocations: 0 / 0.5672 GB, free: 1.285 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002478/0.1857, allocations: 43.95 kB / 0.5672 GB, free: 1.242 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.1857, allocations: 0 / 0.5672 GB, free: 1.242 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.1857, allocations: 7.938 kB / 0.5672 GB, free: 1.234 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.1857, allocations: 0 / 0.5672 GB, free: 1.234 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.1857, allocations: 11.92 kB / 0.5672 GB, free: 1.223 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007887/0.1865, allocations: 315.2 kB / 0.5675 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.698e-05/0.1866, allocations: 89 kB / 0.5676 GB, free: 0.793 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.437e-05/0.1866, allocations: 3.938 kB / 0.5676 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003306/0.187, allocations: 47.95 kB / 0.5677 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.694e-05/0.187, allocations: 4 kB / 0.5677 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-05/0.1871, allocations: 7.984 kB / 0.5677 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.927e-05/0.1872, allocations: 109 kB / 0.5678 GB, free: 0.625 MB / 430.1 MB Notification: Performance of sort global known variables: time 4.9e-07/0.1872, allocations: 0 / 0.5678 GB, free: 0.625 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002832/0.1875, allocations: 24 kB / 0.5678 GB, free: 0.6016 MB / 430.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.001163/0.1886, allocations: 0.8452 MB / 0.5686 GB, free: 15.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007374/0.1894, allocations: 203.8 kB / 0.5688 GB, free: 15.53 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.1894, allocations: 4 kB / 0.5688 GB, free: 15.53 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003492/0.1898, allocations: 99.98 kB / 0.5689 GB, free: 15.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003372/0.1901, allocations: 11.98 kB / 0.5689 GB, free: 15.42 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00354/0.1937, allocations: 1.958 MB / 0.5708 GB, free: 13.37 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/0.194, allocations: 0.7004 MB / 0.5715 GB, free: 12.64 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001018/0.1941, allocations: 16 kB / 0.5715 GB, free: 12.62 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.341e-05/0.1942, allocations: 35.41 kB / 0.5716 GB, free: 12.59 MB / 446.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1942, allocations: 3.938 kB / 0.5716 GB, free: 12.59 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0145/0.2087, allocations: 2.431 MB / 0.574 GB, free: 10.29 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002492/0.209, allocations: 189.9 kB / 0.5741 GB, free: 10.04 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.79/1.999, allocations: 4 kB / 0.5741 GB, free: 10.03 MB / 446.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)