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.00789/0.00789, allocations: 96.39 kB / 15.73 MB, free: 6.484 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.002112/0.002112, allocations: 192.5 kB / 16.67 MB, free: 6.391 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8346/0.8346, allocations: 132.2 MB / 422.8 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 59.91 kB / 0.5809 GB, free: 8.012 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.343, allocations: 80.21 MB / 0.6592 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001447/0.3445, allocations: 0.5886 MB / 0.6598 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003334/0.3448, allocations: 163.5 kB / 0.66 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.268e-05/0.3449, allocations: 1.094 kB / 0.66 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.411e-05/0.3449, allocations: 0 / 0.66 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 1.546e-05/0.3449, allocations: 0 / 0.66 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002685/0.3452, allocations: 44.83 kB / 0.66 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.839e-05/0.3452, allocations: 22.2 kB / 0.66 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.424e-05/0.3453, allocations: 6.016 kB / 0.66 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.737e-05/0.3453, allocations: 9.672 kB / 0.66 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.538e-05/0.3454, allocations: 4.297 kB / 0.6601 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.07e-05/0.3454, allocations: 0 / 0.6601 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.536e-05/0.3455, allocations: 33.89 kB / 0.6601 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.396e-05/0.3455, allocations: 9.453 kB / 0.6601 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.699e-05/0.3455, allocations: 6.719 kB / 0.6601 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.954e-05/0.3456, allocations: 30.53 kB / 0.6601 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3456, allocations: 1.938 kB / 0.6601 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3456, allocations: 4 kB / 0.6601 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.687e-06/0.3456, allocations: 0 / 0.6601 GB, free: 9.336 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002757/0.3459, allocations: 334.3 kB / 0.6605 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.346, allocations: 10.28 kB / 0.6605 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.134e-05/0.346, allocations: 36.62 kB / 0.6605 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.342e-05/0.346, allocations: 6.234 kB / 0.6605 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.515e-05/0.3461, allocations: 161.7 kB / 0.6607 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.3461, allocations: 6.781 kB / 0.6607 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.969e-05/0.3461, allocations: 10.12 kB / 0.6607 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.381e-05/0.3462, allocations: 46.17 kB / 0.6607 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.3462, allocations: 3.938 kB / 0.6607 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-06/0.3462, allocations: 1.156 kB / 0.6607 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.3462, allocations: 1.188 kB / 0.6607 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.338e-05/0.3463, allocations: 15.75 kB / 0.6607 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001088/0.3464, allocations: 158.1 kB / 0.6609 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.043e-05/0.3465, allocations: 44.23 kB / 0.6609 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.937e-05/0.3465, allocations: 23.59 kB / 0.661 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.042e-05/0.3466, allocations: 82.06 kB / 0.661 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.511e-05/0.3466, allocations: 34.5 kB / 0.6611 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.3466, allocations: 0 / 0.6611 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.001048/0.3477, allocations: 489.9 kB / 0.6615 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.624e-05/0.3477, allocations: 52.56 kB / 0.6616 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.984e-05/0.3477, allocations: 100.2 kB / 0.6617 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.825e-06/0.3478, allocations: 30.8 kB / 0.6617 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.394e-05/0.3478, allocations: 88.55 kB / 0.6618 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.243e-05/0.3478, allocations: 24.12 kB / 0.6618 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.159e-05/0.3478, allocations: 21.69 kB / 0.6618 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.338e-05/0.3479, allocations: 313.6 kB / 0.6621 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.696e-05/0.3479, allocations: 16.86 kB / 0.6622 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.334e-05/0.3479, allocations: 12.8 kB / 0.6622 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.753e-05/0.348, allocations: 39.69 kB / 0.6622 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.348, allocations: 0 / 0.6622 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.433e-05/0.3481, allocations: 72.55 kB / 0.6623 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.3481, allocations: 7.188 kB / 0.6623 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.3481, allocations: 0.7031 kB / 0.6623 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.3482, allocations: 0 / 0.6623 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.192e-05/0.3482, allocations: 13.33 kB / 0.6623 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.3482, allocations: 1.688 kB / 0.6623 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.198e-05/0.3483, allocations: 0 / 0.6623 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.3483, allocations: 7.172 kB / 0.6623 GB, free: 7.164 MB / 0.4981 GB 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 3.92e-05/0.3483, allocations: 116.4 kB / 0.6624 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.153e-05/0.3483, allocations: 10.56 kB / 0.6624 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001474/0.3485, allocations: 87.88 kB / 0.6625 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3485, allocations: 1.594 kB / 0.6625 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.3485, allocations: 0 / 0.6625 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.3485, allocations: 1.891 kB / 0.6625 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.828e-05/0.3486, allocations: 163.5 kB / 0.6627 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3486, allocations: 0 / 0.6627 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.569e-05/0.3487, allocations: 25.67 kB / 0.6627 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.3487, allocations: 0 / 0.6627 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.3487, allocations: 1.781 kB / 0.6627 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3487, allocations: 0 / 0.6627 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3487, allocations: 1.5 kB / 0.6627 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000157/0.3489, allocations: 122.3 kB / 0.6628 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.52e-05/0.3489, allocations: 87.16 kB / 0.6629 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.3489, allocations: 1.469 kB / 0.6629 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.22e-05/0.349, allocations: 5.766 kB / 0.6629 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.569e-05/0.349, allocations: 5.484 kB / 0.6629 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.349, allocations: 6.562 kB / 0.6629 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.42e-05/0.349, allocations: 83.88 kB / 0.663 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.349, allocations: 1.406 kB / 0.663 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002099/0.3492, allocations: 29.17 kB / 0.663 GB, free: 6.469 MB / 0.4981 GB 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.0003531/0.3496, allocations: 0.6813 MB / 0.6637 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001059/0.3497, allocations: 39.98 kB / 0.6637 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3497, allocations: 1.312 kB / 0.6637 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.279e-05/0.3498, allocations: 22.02 kB / 0.6637 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000133/0.3499, allocations: 7.859 kB / 0.6638 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006964/0.3506, allocations: 1.202 MB / 0.6649 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.933e-05/0.3507, allocations: 0.6799 MB / 0.6656 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.106e-05/0.3507, allocations: 9.688 kB / 0.6656 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.859e-05/0.3508, allocations: 16.7 kB / 0.6656 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.3508, allocations: 0 / 0.6656 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2904/0.6412, allocations: 1.798 MB / 0.6674 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.853/9.494, allocations: 13.03 kB / 0.6674 GB, free: 3.191 MB / 0.4981 GB (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)