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.001598/0.001598, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001853/0.001853, allocations: 195.6 kB / 16.14 MB, free: 6.715 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.283/1.283, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.712/0.712, allocations: 132.2 MB / 422.1 MB, free: 2.055 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001101/0.001101, allocations: 61.5 kB / 0.5012 GB, free: 4.273 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3529/0.354, allocations: 80.19 MB / 0.5795 GB, free: 4.578 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.002419/0.3565, allocations: 1.833 MB / 0.5813 GB, free: 3.297 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009117/0.3574, allocations: 0.6584 MB / 0.5819 GB, free: 2.836 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.108e-05/0.3575, allocations: 2.156 kB / 0.5819 GB, free: 2.836 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.367e-05/0.3575, allocations: 6.141 kB / 0.5819 GB, free: 2.832 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.581e-05/0.3576, allocations: 19.27 kB / 0.582 GB, free: 2.816 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000428/0.358, allocations: 152.4 kB / 0.5821 GB, free: 2.742 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001245/0.3582, allocations: 115.9 kB / 0.5822 GB, free: 2.695 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.3583, allocations: 50.41 kB / 0.5823 GB, free: 2.664 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.3584, allocations: 53.69 kB / 0.5823 GB, free: 2.645 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.703e-05/0.3585, allocations: 54.95 kB / 0.5824 GB, free: 2.613 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.639e-05/0.3585, allocations: 6.75 kB / 0.5824 GB, free: 2.613 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.3586, allocations: 40.7 kB / 0.5824 GB, free: 2.605 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.107e-05/0.3587, allocations: 32.53 kB / 0.5824 GB, free: 2.586 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.924e-05/0.3587, allocations: 56.92 kB / 0.5825 GB, free: 2.551 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001753/0.3589, allocations: 139.8 kB / 0.5826 GB, free: 2.496 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.3589, allocations: 0 / 0.5826 GB, free: 2.496 MB / 430.1 MB Notification: Performance of FrontEnd: time 6.01e-07/0.3589, allocations: 0 / 0.5826 GB, free: 2.496 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.3589, allocations: 0 / 0.5826 GB, free: 2.496 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.0004257/0.3593, allocations: 438.7 kB / 0.583 GB, free: 2.09 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.913e-05/0.3594, allocations: 13.45 kB / 0.5831 GB, free: 2.086 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.087e-05/0.3594, allocations: 43.25 kB / 0.5831 GB, free: 2.039 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007703/0.3602, allocations: 108.6 kB / 0.5832 GB, free: 2.031 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.812e-05/0.3603, allocations: 177.2 kB / 0.5834 GB, free: 1.828 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.594e-05/0.3603, allocations: 68.41 kB / 0.5834 GB, free: 1.758 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.3e-05/0.3604, allocations: 10.64 kB / 0.5834 GB, free: 1.754 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004605/0.3608, allocations: 169.4 kB / 0.5836 GB, free: 1.688 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.211e-06/0.3608, allocations: 0 / 0.5836 GB, free: 1.688 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/0.3609, allocations: 4.875 kB / 0.5836 GB, free: 1.684 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.3609, allocations: 2.766 kB / 0.5836 GB, free: 1.684 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005387/0.3614, allocations: 164 kB / 0.5838 GB, free: 1.645 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009177/0.3623, allocations: 495.4 kB / 0.5842 GB, free: 1.281 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008728/0.3632, allocations: 220.6 kB / 0.5845 GB, free: 1.219 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002676/0.3635, allocations: 84.25 kB / 0.5845 GB, free: 1.191 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.3635, allocations: 2 kB / 0.5845 GB, free: 1.191 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.513e-05/0.3636, allocations: 35.53 kB / 0.5846 GB, free: 1.148 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.3636, allocations: 0 / 0.5846 GB, free: 1.148 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.0008766/0.3644, allocations: 262.5 kB / 0.5848 GB, free: 1.062 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.827e-05/0.3645, allocations: 57.06 kB / 0.5849 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.674e-05/0.3646, allocations: 136.5 kB / 0.585 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.3646, allocations: 27.69 kB / 0.585 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.493e-05/0.3646, allocations: 110.2 kB / 0.5851 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.923e-05/0.3646, allocations: 15.22 kB / 0.5851 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.893e-05/0.3647, allocations: 32.59 kB / 0.5852 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.488e-05/0.3647, allocations: 314.8 kB / 0.5855 GB, free: 412 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002662/0.365, allocations: 74.91 kB / 0.5856 GB, free: 396 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002635/0.3653, allocations: 99.75 kB / 0.5856 GB, free: 348 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004967/0.3658, allocations: 157.2 kB / 0.5858 GB, free: 292 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3658, allocations: 4 kB / 0.5858 GB, free: 288 kB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005914/0.3664, allocations: 198.1 kB / 0.586 GB, free: 216 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.3664, allocations: 12.59 kB / 0.586 GB, free: 212 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.3664, allocations: 5.344 kB / 0.586 GB, free: 208 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.3664, allocations: 5.344 kB / 0.586 GB, free: 204 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002371/0.3667, allocations: 42.58 kB / 0.5861 GB, free: 196 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.3667, allocations: 1.953 kB / 0.5861 GB, free: 196 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001756/0.3669, allocations: 29.09 kB / 0.5861 GB, free: 188 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.3669, allocations: 4.406 kB / 0.5861 GB, free: 188 kB / 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 6.669e-05/0.367, allocations: 116.8 kB / 0.5862 GB, free: 68 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.054e-05/0.367, allocations: 12.28 kB / 0.5862 GB, free: 60 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006534/0.3677, allocations: 207.9 kB / 0.5864 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.3677, allocations: 0.9688 kB / 0.5864 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.3677, allocations: 4.375 kB / 0.5864 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3677, allocations: 1.266 kB / 0.5864 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002367/0.3679, allocations: 240.6 kB / 0.5866 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3679, allocations: 1.469 kB / 0.5866 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002152/0.3682, allocations: 31.77 kB / 0.5867 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3682, allocations: 0 / 0.5867 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.3682, allocations: 6.125 kB / 0.5867 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.3682, allocations: 0.5625 kB / 0.5867 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3682, allocations: 1.641 kB / 0.5867 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000608/0.3688, allocations: 286.2 kB / 0.587 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.561e-05/0.3689, allocations: 83.39 kB / 0.587 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.218e-05/0.3689, allocations: 9.594 kB / 0.587 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002755/0.3692, allocations: 32.92 kB / 0.5871 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.288e-05/0.3692, allocations: 4.891 kB / 0.5871 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.276e-05/0.3692, allocations: 11.31 kB / 0.5871 GB, free: 15.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.159e-05/0.3693, allocations: 102.4 kB / 0.5872 GB, free: 15.38 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3693, allocations: 0 / 0.5872 GB, free: 15.38 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002512/0.3696, allocations: 27 kB / 0.5872 GB, free: 15.37 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.0008346/0.3704, allocations: 0.814 MB / 0.588 GB, free: 14.67 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005682/0.371, allocations: 164.6 kB / 0.5882 GB, free: 14.64 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.371, allocations: 4 kB / 0.5882 GB, free: 14.63 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002704/0.3713, allocations: 80.72 kB / 0.5882 GB, free: 14.62 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002846/0.3716, allocations: 16.19 kB / 0.5883 GB, free: 14.61 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002595/0.3742, allocations: 1.848 MB / 0.5901 GB, free: 13.19 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001937/0.3744, allocations: 0.7047 MB / 0.5908 GB, free: 12.49 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.625e-05/0.3745, allocations: 10.39 kB / 0.5908 GB, free: 12.49 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.723e-05/0.3746, allocations: 36.72 kB / 0.5908 GB, free: 12.46 MB / 446.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3746, allocations: 3.938 kB / 0.5908 GB, free: 12.46 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.021/1.396, allocations: 2.501 MB / 0.5932 GB, free: 11.91 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002003/1.396, allocations: 184.8 kB / 0.5934 GB, free: 11.66 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.885/4.281, allocations: 3.938 kB / 0.5934 GB, free: 11.66 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)