Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="IDEAS_dev_IDEAS_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.0008537/0.0008538, allocations: 92.78 kB / 15.36 MB, free: 0.7383 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.005205/0.005205, allocations: 173 kB / 16.26 MB, free: 6.613 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.442/1.442, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9612/0.9612, allocations: 135.3 MB / 426.7 MB, free: 14.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000323/0.000323, allocations: 8 kB / 0.5077 GB, free: 4.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.183/0.1833, allocations: 82.31 MB / 0.5881 GB, free: 2.527 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.001966/0.1854, allocations: 1.474 MB / 0.5895 GB, free: 1.035 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001056/0.1864, allocations: 0.6438 MB / 0.5901 GB, free: 392 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.459e-05/0.1865, allocations: 4 kB / 0.5901 GB, free: 388 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.49e-05/0.1865, allocations: 7.922 kB / 0.5902 GB, free: 380 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.774e-05/0.1866, allocations: 11.86 kB / 0.5902 GB, free: 368 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004971/0.1871, allocations: 158.7 kB / 0.5903 GB, free: 212 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001387/0.1873, allocations: 115.7 kB / 0.5904 GB, free: 96 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.1874, allocations: 53.09 kB / 0.5905 GB, free: 44 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001247/0.1875, allocations: 51.7 kB / 0.5905 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.088e-05/0.1876, allocations: 39.78 kB / 0.5906 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.039e-05/0.1877, allocations: 4 kB / 0.5906 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.1878, allocations: 39.97 kB / 0.5906 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.851e-05/0.1878, allocations: 19.91 kB / 0.5906 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.139e-05/0.1879, allocations: 77.41 kB / 0.5907 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001822/0.1881, allocations: 135.8 kB / 0.5908 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.1881, allocations: 0 / 0.5908 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1881, allocations: 4 kB / 0.5908 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.1881, allocations: 0 / 0.5908 GB, free: 15.67 MB / 0.4981 GB 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.000553/0.1886, allocations: 415.1 kB / 0.5912 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.1887, allocations: 8.031 kB / 0.5912 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.887e-05/0.1888, allocations: 42.73 kB / 0.5913 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008494/0.1896, allocations: 148.6 kB / 0.5914 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.1897, allocations: 184.1 kB / 0.5916 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001013/0.1899, allocations: 67.95 kB / 0.5917 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.966e-05/0.1899, allocations: 4.375 kB / 0.5917 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000529/0.1904, allocations: 193.4 kB / 0.5919 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.597e-06/0.1904, allocations: 3.984 kB / 0.5919 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.003e-05/0.1905, allocations: 8 kB / 0.5919 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.1905, allocations: 0 / 0.5919 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006454/0.1911, allocations: 187.8 kB / 0.592 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/0.1922, allocations: 0.494 MB / 0.5925 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001086/0.1933, allocations: 270.3 kB / 0.5928 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003281/0.1937, allocations: 100.9 kB / 0.5929 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.1937, allocations: 0 / 0.5929 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.1938, allocations: 38.56 kB / 0.5929 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.1938, allocations: 4 kB / 0.5929 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.001083/0.1948, allocations: 317.6 kB / 0.5932 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/0.1949, allocations: 51.41 kB / 0.5933 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.195, allocations: 143.6 kB / 0.5934 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.195, allocations: 25.7 kB / 0.5934 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.164e-05/0.1951, allocations: 116.2 kB / 0.5935 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.396e-05/0.1952, allocations: 19.66 kB / 0.5936 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.063e-05/0.1952, allocations: 17.66 kB / 0.5936 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.1953, allocations: 322.8 kB / 0.5939 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003185/0.1956, allocations: 91.92 kB / 0.594 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003321/0.196, allocations: 114.5 kB / 0.5941 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006487/0.1966, allocations: 198.4 kB / 0.5943 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1966, allocations: 0 / 0.5943 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007087/0.1974, allocations: 233.4 kB / 0.5945 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.1974, allocations: 12 kB / 0.5945 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.1974, allocations: 7.938 kB / 0.5945 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.1974, allocations: 0 / 0.5945 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002718/0.1977, allocations: 43.95 kB / 0.5946 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.1977, allocations: 0 / 0.5946 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002096/0.1979, allocations: 43.86 kB / 0.5946 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.1979, allocations: 4 kB / 0.5946 GB, free: 11.55 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.0001036/0.198, allocations: 113.8 kB / 0.5947 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.733e-05/0.1981, allocations: 7.906 kB / 0.5947 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000761/0.1989, allocations: 250.1 kB / 0.595 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.1989, allocations: 0 / 0.595 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1989, allocations: 0 / 0.595 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.1989, allocations: 7.984 kB / 0.595 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002553/0.1992, allocations: 242.1 kB / 0.5952 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1992, allocations: 4 kB / 0.5952 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002279/0.1994, allocations: 35.95 kB / 0.5952 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1994, allocations: 4 kB / 0.5952 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.1994, allocations: 7.922 kB / 0.5952 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1994, allocations: 0 / 0.5952 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1994, allocations: 0 / 0.5952 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007288/0.2002, allocations: 327.4 kB / 0.5956 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.726e-05/0.2002, allocations: 81.02 kB / 0.5956 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.297e-05/0.2002, allocations: 11.94 kB / 0.5956 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003386/0.2006, allocations: 43.95 kB / 0.5957 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.953e-05/0.2006, allocations: 3.984 kB / 0.5957 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.781e-05/0.2007, allocations: 7.984 kB / 0.5957 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.789e-05/0.2007, allocations: 105.7 kB / 0.5958 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2007, allocations: 0 / 0.5958 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002508/0.201, allocations: 31.91 kB / 0.5958 GB, free: 10.2 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.00102/0.202, allocations: 0.8605 MB / 0.5967 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006909/0.2027, allocations: 191.8 kB / 0.5969 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2027, allocations: 3.938 kB / 0.5969 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003402/0.2031, allocations: 108 kB / 0.597 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003234/0.2034, allocations: 8 kB / 0.597 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003094/0.2065, allocations: 1.963 MB / 0.5989 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002554/0.2068, allocations: 0.7004 MB / 0.5996 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.314e-05/0.2069, allocations: 15.98 kB / 0.5996 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.962e-05/0.207, allocations: 31.42 kB / 0.5996 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.207, allocations: 0 / 0.5996 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2575/0.4645, allocations: 2.425 MB / 0.602 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002911/0.4649, allocations: 184 kB / 0.6022 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.645/2.11, allocations: 4 kB / 0.6022 GB, free: 3.629 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothBlocks.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)