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.0008729/0.0008729, allocations: 91.77 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.005297/0.005297, allocations: 170.2 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.327/1.327, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7027/0.7027, allocations: 132.3 MB / 423.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000297/0.000297, allocations: 9.188 kB / 0.5041 GB, free: 3.797 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3449/0.3452, allocations: 81.57 MB / 0.5837 GB, free: 3.871 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.001654/0.3469, allocations: 1.491 MB / 0.5852 GB, free: 2.785 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008917/0.3478, allocations: 0.6518 MB / 0.5858 GB, free: 2.328 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.151e-05/0.3478, allocations: 1.625 kB / 0.5858 GB, free: 2.328 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.203e-05/0.3479, allocations: 6.703 kB / 0.5858 GB, free: 2.324 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.554e-05/0.3479, allocations: 11.44 kB / 0.5859 GB, free: 2.316 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004581/0.3484, allocations: 157.3 kB / 0.586 GB, free: 2.238 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001335/0.3485, allocations: 116.5 kB / 0.5861 GB, free: 2.191 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.3487, allocations: 46.2 kB / 0.5862 GB, free: 2.164 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.3488, allocations: 46.08 kB / 0.5862 GB, free: 2.148 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.246e-05/0.3489, allocations: 43.09 kB / 0.5862 GB, free: 2.125 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.3489, allocations: 4.156 kB / 0.5863 GB, free: 2.125 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.349, allocations: 42.31 kB / 0.5863 GB, free: 2.113 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.999e-05/0.349, allocations: 19.84 kB / 0.5863 GB, free: 2.105 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.323e-05/0.3491, allocations: 75.53 kB / 0.5864 GB, free: 2.043 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001836/0.3493, allocations: 132.5 kB / 0.5865 GB, free: 2 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3493, allocations: 0.6562 kB / 0.5865 GB, free: 2 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3493, allocations: 0 / 0.5865 GB, free: 2 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.3493, allocations: 0.625 kB / 0.5865 GB, free: 2 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.0004614/0.3498, allocations: 419.7 kB / 0.5869 GB, free: 1.602 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.3498, allocations: 8.906 kB / 0.5869 GB, free: 1.602 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.18e-05/0.3499, allocations: 51.94 kB / 0.587 GB, free: 1.547 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009032/0.3508, allocations: 140.4 kB / 0.5871 GB, free: 1.535 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.3509, allocations: 182.7 kB / 0.5873 GB, free: 1.328 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.508e-05/0.351, allocations: 66.5 kB / 0.5873 GB, free: 1.262 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.469e-05/0.351, allocations: 9.781 kB / 0.5874 GB, free: 1.258 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005531/0.3516, allocations: 193.8 kB / 0.5875 GB, free: 1.188 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.3516, allocations: 0 / 0.5875 GB, free: 1.188 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.281e-05/0.3516, allocations: 5.031 kB / 0.5875 GB, free: 1.184 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.3516, allocations: 6.859 kB / 0.5875 GB, free: 1.18 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006938/0.3523, allocations: 197 kB / 0.5877 GB, free: 1.141 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001073/0.3534, allocations: 0.4969 MB / 0.5882 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001138/0.3546, allocations: 273.7 kB / 0.5885 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003596/0.3549, allocations: 99.73 kB / 0.5886 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.355, allocations: 2 kB / 0.5886 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.754e-05/0.355, allocations: 32.03 kB / 0.5886 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.355, allocations: 0 / 0.5886 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.001158/0.3562, allocations: 321.6 kB / 0.5889 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.539e-05/0.3562, allocations: 57.31 kB / 0.589 GB, free: 496 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.3563, allocations: 139.1 kB / 0.5891 GB, free: 380 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.3563, allocations: 26.55 kB / 0.5891 GB, free: 348 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.247e-05/0.3564, allocations: 113.9 kB / 0.5892 GB, free: 240 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.187e-05/0.3564, allocations: 12.56 kB / 0.5892 GB, free: 232 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.042e-05/0.3565, allocations: 16.17 kB / 0.5893 GB, free: 212 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.679e-05/0.3565, allocations: 320.5 kB / 0.5896 GB, free: 15.89 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000369/0.3569, allocations: 97.95 kB / 0.5897 GB, free: 15.87 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003745/0.3573, allocations: 113.5 kB / 0.5898 GB, free: 15.82 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007152/0.358, allocations: 194.7 kB / 0.59 GB, free: 15.76 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.358, allocations: 1.438 kB / 0.59 GB, free: 15.76 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0008317/0.3589, allocations: 240.7 kB / 0.5902 GB, free: 15.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.3589, allocations: 5.797 kB / 0.5902 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.3589, allocations: 8.594 kB / 0.5902 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.3589, allocations: 0.9688 kB / 0.5902 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002953/0.3592, allocations: 47.94 kB / 0.5902 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.3593, allocations: 1.156 kB / 0.5902 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002307/0.3595, allocations: 45.2 kB / 0.5903 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.079e-05/0.3595, allocations: 9.062 kB / 0.5903 GB, free: 15.65 MB / 446.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.0001054/0.3596, allocations: 115.9 kB / 0.5904 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.286e-05/0.3597, allocations: 12.22 kB / 0.5904 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000889/0.3606, allocations: 239.3 kB / 0.5907 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.3606, allocations: 5.094 kB / 0.5907 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.3606, allocations: 1.266 kB / 0.5907 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.3606, allocations: 0 / 0.5907 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002559/0.3609, allocations: 229.6 kB / 0.5909 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3609, allocations: 0 / 0.5909 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000254/0.3612, allocations: 48.08 kB / 0.5909 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.3612, allocations: 1.156 kB / 0.5909 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.3612, allocations: 9.922 kB / 0.5909 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.3612, allocations: 1.906 kB / 0.5909 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.614e-06/0.3612, allocations: 3.984 kB / 0.5909 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007916/0.362, allocations: 318.2 kB / 0.5912 GB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.138e-05/0.3621, allocations: 83.5 kB / 0.5913 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.527e-05/0.3621, allocations: 5.859 kB / 0.5913 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003451/0.3624, allocations: 44.52 kB / 0.5914 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.851e-05/0.3625, allocations: 8.312 kB / 0.5914 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.031e-05/0.3625, allocations: 7.109 kB / 0.5914 GB, free: 14.92 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.513e-05/0.3626, allocations: 106 kB / 0.5915 GB, free: 14.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3626, allocations: 0 / 0.5915 GB, free: 14.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002885/0.3629, allocations: 27.44 kB / 0.5915 GB, free: 14.83 MB / 446.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.001134/0.364, allocations: 0.8529 MB / 0.5923 GB, free: 14.12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007716/0.3648, allocations: 208 kB / 0.5925 GB, free: 14.08 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3648, allocations: 0.8438 kB / 0.5925 GB, free: 14.08 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003668/0.3652, allocations: 99.73 kB / 0.5926 GB, free: 14.06 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003181/0.3655, allocations: 8.516 kB / 0.5926 GB, free: 14.05 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003364/0.3689, allocations: 1.961 MB / 0.5946 GB, free: 12.62 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/0.3692, allocations: 0.7032 MB / 0.5952 GB, free: 11.92 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001029/0.3693, allocations: 11.84 kB / 0.5953 GB, free: 11.92 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.847e-05/0.3694, allocations: 36.09 kB / 0.5953 GB, free: 11.89 MB / 446.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3694, allocations: 0 / 0.5953 GB, free: 11.89 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04667/0.4161, allocations: 2.434 MB / 0.5977 GB, free: 11.29 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001732/0.4163, allocations: 185.3 kB / 0.5978 GB, free: 11.04 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.696/2.112, allocations: 0 / 0.5978 GB, free: 11.04 MB / 446.1 MB (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)