Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",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.001071/0.001071, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001066/0.001066, allocations: 189 kB / 16.25 MB, free: 6.625 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.297/1.297, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7201/0.7201, allocations: 132.2 MB / 422.3 MB, free: 1.941 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001064/0.001064, allocations: 59.59 kB / 0.5014 GB, free: 4.105 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3721/0.3731, allocations: 80.2 MB / 0.5797 GB, free: 4.566 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001725/0.3749, allocations: 0.6622 MB / 0.5803 GB, free: 4.152 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003254/0.3752, allocations: 162.2 kB / 0.5805 GB, free: 4.043 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.932e-05/0.3753, allocations: 0 / 0.5805 GB, free: 4.043 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.619e-05/0.3753, allocations: 0.5 kB / 0.5805 GB, free: 4.043 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 1.85e-05/0.3753, allocations: 0 / 0.5805 GB, free: 4.043 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002836/0.3756, allocations: 41.23 kB / 0.5805 GB, free: 4.023 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.161e-05/0.3757, allocations: 9.016 kB / 0.5805 GB, free: 4.023 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.477e-05/0.3757, allocations: 6.422 kB / 0.5806 GB, free: 4.02 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.799e-05/0.3757, allocations: 7.688 kB / 0.5806 GB, free: 4.016 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.494e-05/0.3758, allocations: 13.62 kB / 0.5806 GB, free: 4.008 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.122e-05/0.3758, allocations: 0.7812 kB / 0.5806 GB, free: 4.008 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.63e-05/0.3759, allocations: 37.12 kB / 0.5806 GB, free: 3.996 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.382e-05/0.3759, allocations: 6.141 kB / 0.5806 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.68e-05/0.3759, allocations: 7.453 kB / 0.5806 GB, free: 3.988 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.631e-05/0.376, allocations: 25.47 kB / 0.5806 GB, free: 3.98 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.376, allocations: 1.688 kB / 0.5806 GB, free: 3.98 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.376, allocations: 0 / 0.5806 GB, free: 3.98 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.376, allocations: 0 / 0.5806 GB, free: 3.98 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002766/0.3763, allocations: 334.8 kB / 0.581 GB, free: 3.617 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.3764, allocations: 9.281 kB / 0.581 GB, free: 3.617 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.415e-05/0.3764, allocations: 36.23 kB / 0.581 GB, free: 3.574 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.496e-05/0.3764, allocations: 7.719 kB / 0.581 GB, free: 3.57 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.185e-05/0.3765, allocations: 164.4 kB / 0.5812 GB, free: 3.375 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.939e-06/0.3765, allocations: 1.406 kB / 0.5812 GB, free: 3.375 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.777e-05/0.3765, allocations: 3.5 kB / 0.5812 GB, free: 3.375 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.166e-05/0.3766, allocations: 41.81 kB / 0.5812 GB, free: 3.34 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.3766, allocations: 7.875 kB / 0.5812 GB, free: 3.332 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.3766, allocations: 8.719 kB / 0.5812 GB, free: 3.324 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.838e-06/0.3767, allocations: 0.9062 kB / 0.5812 GB, free: 3.324 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.273e-05/0.3767, allocations: 11.45 kB / 0.5812 GB, free: 3.324 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001056/0.3768, allocations: 163.3 kB / 0.5814 GB, free: 3.125 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.654e-05/0.3769, allocations: 44.28 kB / 0.5814 GB, free: 3.094 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.054e-05/0.3769, allocations: 18.44 kB / 0.5815 GB, free: 3.082 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.781e-05/0.377, allocations: 81.16 kB / 0.5815 GB, free: 2.988 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.541e-05/0.377, allocations: 36 kB / 0.5816 GB, free: 2.945 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 9.61e-07/0.377, allocations: 1.156 kB / 0.5816 GB, free: 2.945 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.001097/0.3781, allocations: 0.4945 MB / 0.5821 GB, free: 2.523 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.293e-05/0.3782, allocations: 53.2 kB / 0.5821 GB, free: 2.461 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.077e-05/0.3782, allocations: 92.05 kB / 0.5822 GB, free: 2.363 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.045e-06/0.3782, allocations: 27.36 kB / 0.5822 GB, free: 2.332 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.167e-05/0.3782, allocations: 80.84 kB / 0.5823 GB, free: 2.25 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.484e-05/0.3783, allocations: 24.22 kB / 0.5823 GB, free: 2.23 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.138e-05/0.3783, allocations: 21 kB / 0.5823 GB, free: 2.211 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.81e-05/0.3783, allocations: 321.7 kB / 0.5826 GB, free: 1.891 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.776e-05/0.3784, allocations: 14.19 kB / 0.5827 GB, free: 1.887 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.245e-05/0.3784, allocations: 8.156 kB / 0.5827 GB, free: 1.887 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.876e-05/0.3785, allocations: 39.41 kB / 0.5827 GB, free: 1.863 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.3785, allocations: 0.6562 kB / 0.5827 GB, free: 1.863 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.401e-05/0.3786, allocations: 75.59 kB / 0.5828 GB, free: 1.812 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.3786, allocations: 5.156 kB / 0.5828 GB, free: 1.812 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.3786, allocations: 0.75 kB / 0.5828 GB, free: 1.812 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/0.3786, allocations: 1.25 kB / 0.5828 GB, free: 1.812 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.393e-05/0.3787, allocations: 16.61 kB / 0.5828 GB, free: 1.809 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.3787, allocations: 0.9688 kB / 0.5828 GB, free: 1.809 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.285e-05/0.3787, allocations: 1.469 kB / 0.5828 GB, free: 1.809 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.3787, allocations: 3.125 kB / 0.5828 GB, free: 1.809 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 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 4.388e-05/0.3788, allocations: 117.5 kB / 0.5829 GB, free: 1.688 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.249e-05/0.3788, allocations: 5.812 kB / 0.5829 GB, free: 1.684 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001433/0.379, allocations: 84.17 kB / 0.583 GB, free: 1.629 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.379, allocations: 6.156 kB / 0.583 GB, free: 1.625 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.379, allocations: 256 / 0.583 GB, free: 1.625 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.379, allocations: 4.734 kB / 0.583 GB, free: 1.621 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.404e-05/0.3791, allocations: 166.6 kB / 0.5832 GB, free: 1.422 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3791, allocations: 0.7812 kB / 0.5832 GB, free: 1.422 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.826e-05/0.3791, allocations: 21.73 kB / 0.5832 GB, free: 1.414 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3792, allocations: 0 / 0.5832 GB, free: 1.414 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.3792, allocations: 5.906 kB / 0.5832 GB, free: 1.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3792, allocations: 1.375 kB / 0.5832 GB, free: 1.41 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3792, allocations: 0.5625 kB / 0.5832 GB, free: 1.41 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001445/0.3793, allocations: 113.4 kB / 0.5833 GB, free: 1.324 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.514e-05/0.3794, allocations: 83.7 kB / 0.5834 GB, free: 1.227 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.3794, allocations: 9.828 kB / 0.5834 GB, free: 1.219 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.296e-05/0.3794, allocations: 1.25 kB / 0.5834 GB, free: 1.219 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.68e-05/0.3794, allocations: 5.641 kB / 0.5834 GB, free: 1.219 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.3795, allocations: 1.656 kB / 0.5834 GB, free: 1.219 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.365e-05/0.3795, allocations: 76.41 kB / 0.5835 GB, free: 1.145 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3795, allocations: 5.031 kB / 0.5835 GB, free: 1.141 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00021/0.3797, allocations: 33.67 kB / 0.5835 GB, free: 1.133 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (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 Backend phase and start with SimCode phase: time 0.000359/0.3801, allocations: 0.681 MB / 0.5842 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001018/0.3802, allocations: 45.75 kB / 0.5842 GB, free: 500 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3802, allocations: 0.8438 kB / 0.5842 GB, free: 500 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.49e-05/0.3802, allocations: 25.06 kB / 0.5843 GB, free: 492 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001376/0.3804, allocations: 6.906 kB / 0.5843 GB, free: 488 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008432/0.3812, allocations: 1.196 MB / 0.5854 GB, free: 15.33 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000192/0.3814, allocations: 0.679 MB / 0.5861 GB, free: 14.63 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.458e-05/0.3815, allocations: 5.734 kB / 0.5861 GB, free: 14.63 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.016e-05/0.3815, allocations: 16.67 kB / 0.5861 GB, free: 14.62 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3815, allocations: 0 / 0.5861 GB, free: 14.62 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1457/0.5272, allocations: 1.69 MB / 0.5878 GB, free: 14.39 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000282/0.5275, allocations: 229.2 kB / 0.588 GB, free: 14.13 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.693/2.22, allocations: 0 / 0.588 GB, free: 14.13 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)