Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="IDEAS_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.005189/0.005189, allocations: 101.5 kB / 15.73 MB, free: 5.98 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.001153/0.001153, allocations: 190.5 kB / 16.67 MB, free: 5.918 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.347/1.347, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7649/0.7649, allocations: 132.2 MB / 422.7 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 69.61 kB / 0.5809 GB, free: 24.19 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1702, allocations: 80.21 MB / 0.6592 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.003449/0.1737, allocations: 1.769 MB / 0.6609 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001293/0.175, allocations: 0.667 MB / 0.6616 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.1751, allocations: 4 kB / 0.6616 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.414e-05/0.1752, allocations: 7.875 kB / 0.6616 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.663e-05/0.1753, allocations: 19.78 kB / 0.6616 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000675/0.176, allocations: 167.7 kB / 0.6618 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001877/0.1762, allocations: 119.6 kB / 0.6619 GB, free: 8 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000164/0.1763, allocations: 53.08 kB / 0.6619 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001524/0.1765, allocations: 59.78 kB / 0.662 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.1766, allocations: 51.75 kB / 0.662 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.005e-05/0.1767, allocations: 12 kB / 0.662 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001271/0.1768, allocations: 51.91 kB / 0.6621 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.638e-05/0.1768, allocations: 35.89 kB / 0.6621 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.554e-05/0.1769, allocations: 47.73 kB / 0.6622 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002446/0.1772, allocations: 146.3 kB / 0.6623 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1772, allocations: 4 kB / 0.6623 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1772, allocations: 0 / 0.6623 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.1772, allocations: 0 / 0.6623 GB, free: 7.551 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.0007307/0.1779, allocations: 435.8 kB / 0.6627 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.178, allocations: 12.03 kB / 0.6627 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.986e-05/0.1781, allocations: 42.75 kB / 0.6628 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008013/0.1789, allocations: 104.7 kB / 0.6629 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.179, allocations: 196 kB / 0.6631 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.291e-05/0.1791, allocations: 67.95 kB / 0.6631 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.297e-05/0.1791, allocations: 8.375 kB / 0.6631 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004825/0.1796, allocations: 169.5 kB / 0.6633 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.1796, allocations: 3.938 kB / 0.6633 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.124e-05/0.1797, allocations: 8 kB / 0.6633 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.1797, allocations: 0 / 0.6633 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005578/0.1802, allocations: 163.8 kB / 0.6635 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001017/0.1813, allocations: 485.6 kB / 0.6639 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009162/0.1822, allocations: 218.3 kB / 0.6641 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000264/0.1825, allocations: 80.91 kB / 0.6642 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.1825, allocations: 0 / 0.6642 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.1826, allocations: 34.56 kB / 0.6643 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.1826, allocations: 0 / 0.6643 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0009233/0.1835, allocations: 269.4 kB / 0.6645 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.691e-05/0.1835, allocations: 55.41 kB / 0.6646 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.1836, allocations: 135.9 kB / 0.6647 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.349e-05/0.1837, allocations: 25.7 kB / 0.6647 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.58e-05/0.1837, allocations: 108.2 kB / 0.6648 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.509e-05/0.1838, allocations: 19.73 kB / 0.6648 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.655e-05/0.1838, allocations: 33.7 kB / 0.6649 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.75e-05/0.1839, allocations: 314.8 kB / 0.6652 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002651/0.1842, allocations: 71.91 kB / 0.6652 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002741/0.1845, allocations: 94.5 kB / 0.6653 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005234/0.185, allocations: 166.4 kB / 0.6655 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.185, allocations: 0 / 0.6655 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006219/0.1857, allocations: 201.3 kB / 0.6657 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.1857, allocations: 4 kB / 0.6657 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.1857, allocations: 7.938 kB / 0.6657 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.1857, allocations: 4.062 kB / 0.6657 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002424/0.186, allocations: 43.94 kB / 0.6657 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.186, allocations: 3.938 kB / 0.6657 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001663/0.1861, allocations: 19.97 kB / 0.6658 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.123e-05/0.1862, allocations: 4.312 kB / 0.6658 GB, free: 3.758 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 9.645e-05/0.1863, allocations: 126.5 kB / 0.6659 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.352e-05/0.1863, allocations: 15.89 kB / 0.6659 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006434/0.187, allocations: 206.2 kB / 0.6661 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.187, allocations: 0 / 0.6661 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.187, allocations: 8 kB / 0.6661 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.187, allocations: 0 / 0.6661 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002362/0.1873, allocations: 238.1 kB / 0.6663 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.1873, allocations: 3.984 kB / 0.6663 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000211/0.1875, allocations: 31.95 kB / 0.6664 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.1875, allocations: 3.938 kB / 0.6664 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.1875, allocations: 3.938 kB / 0.6664 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1875, allocations: 0 / 0.6664 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1875, allocations: 0 / 0.6664 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006037/0.1881, allocations: 287.3 kB / 0.6667 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.819e-05/0.1882, allocations: 85.02 kB / 0.6667 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/0.1882, allocations: 3.938 kB / 0.6667 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002612/0.1885, allocations: 31.95 kB / 0.6668 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.756e-05/0.1885, allocations: 7.984 kB / 0.6668 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.103e-05/0.1885, allocations: 11.98 kB / 0.6668 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.475e-05/0.1886, allocations: 105 kB / 0.6669 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1886, allocations: 0 / 0.6669 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002559/0.1889, allocations: 23.91 kB / 0.6669 GB, free: 2.48 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.0008928/0.1898, allocations: 0.8215 MB / 0.6677 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000605/0.1904, allocations: 167.8 kB / 0.6679 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1904, allocations: 0 / 0.6679 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002762/0.1907, allocations: 80.34 kB / 0.6679 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.191, allocations: 17.7 kB / 0.668 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002827/0.1939, allocations: 1.834 MB / 0.6698 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/0.1941, allocations: 0.6963 MB / 0.6704 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.558e-05/0.1942, allocations: 19.98 kB / 0.6705 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.127e-05/0.1943, allocations: 31.36 kB / 0.6705 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of SimCode: time 4.21e-07/0.1943, allocations: 0 / 0.6705 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01994/0.2143, allocations: 2.74 MB / 0.6732 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.308/7.522, allocations: 11.88 kB / 0.6732 GB, free: 12.01 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_SmoothBlocks.fmu > IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)