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.00101/0.001013, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001003/0.001003, allocations: 193.4 kB / 16.14 MB, free: 6.66 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.308/1.308, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7455/0.7455, allocations: 132.2 MB / 422.1 MB, free: 2.027 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001157, allocations: 67.03 kB / 0.5012 GB, free: 9.117 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1401, allocations: 80.2 MB / 0.5795 GB, free: 9.137 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001611/0.1418, allocations: 0.6543 MB / 0.5802 GB, free: 8.477 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003571/0.1421, allocations: 167.5 kB / 0.5803 GB, free: 8.312 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.221e-05/0.1422, allocations: 3.938 kB / 0.5803 GB, free: 8.309 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.418e-05/0.1422, allocations: 7.938 kB / 0.5803 GB, free: 8.301 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 1.735e-05/0.1422, allocations: 0 / 0.5803 GB, free: 8.301 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002129/0.1424, allocations: 35.69 kB / 0.5804 GB, free: 8.27 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.731e-05/0.1425, allocations: 11.98 kB / 0.5804 GB, free: 8.258 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.121e-05/0.1425, allocations: 0 / 0.5804 GB, free: 8.258 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.768e-05/0.1425, allocations: 8 kB / 0.5804 GB, free: 8.25 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.189e-05/0.1426, allocations: 11.91 kB / 0.5804 GB, free: 8.238 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.989e-06/0.1426, allocations: 4 kB / 0.5804 GB, free: 8.234 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.847e-05/0.1427, allocations: 31.97 kB / 0.5804 GB, free: 8.203 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.341e-05/0.1427, allocations: 4 kB / 0.5804 GB, free: 8.199 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.853e-05/0.1427, allocations: 11.94 kB / 0.5804 GB, free: 8.188 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.687e-05/0.1428, allocations: 31.94 kB / 0.5805 GB, free: 8.156 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.1428, allocations: 0 / 0.5805 GB, free: 8.156 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1428, allocations: 0 / 0.5805 GB, free: 8.156 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.856e-06/0.1428, allocations: 3.938 kB / 0.5805 GB, free: 8.152 MB / 494.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.0003247/0.1432, allocations: 331.5 kB / 0.5808 GB, free: 7.777 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.1432, allocations: 8.031 kB / 0.5808 GB, free: 7.77 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.931e-05/0.1432, allocations: 34.75 kB / 0.5808 GB, free: 7.727 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.314e-05/0.1433, allocations: 4.938 kB / 0.5808 GB, free: 7.723 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.547e-05/0.1434, allocations: 164.7 kB / 0.581 GB, free: 7.523 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.1434, allocations: 4.312 kB / 0.581 GB, free: 7.52 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.802e-05/0.1434, allocations: 8.359 kB / 0.581 GB, free: 7.512 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.048e-05/0.1435, allocations: 42.25 kB / 0.581 GB, free: 7.465 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.1435, allocations: 3.938 kB / 0.581 GB, free: 7.461 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.1435, allocations: 4 kB / 0.581 GB, free: 7.457 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.1435, allocations: 0 / 0.581 GB, free: 7.457 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.909e-05/0.1436, allocations: 15.92 kB / 0.5811 GB, free: 7.441 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001445/0.1437, allocations: 157.7 kB / 0.5812 GB, free: 7.238 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.839e-05/0.1438, allocations: 50.56 kB / 0.5813 GB, free: 7.18 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.742e-05/0.1439, allocations: 24.95 kB / 0.5813 GB, free: 7.152 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.897e-05/0.1439, allocations: 77.11 kB / 0.5814 GB, free: 7.059 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.144, allocations: 34.56 kB / 0.5814 GB, free: 7.016 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/0.144, allocations: 0 / 0.5814 GB, free: 7.016 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.001167/0.1451, allocations: 0.4924 MB / 0.5819 GB, free: 6.449 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/0.1452, allocations: 51.41 kB / 0.5819 GB, free: 6.387 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.679e-05/0.1452, allocations: 89.86 kB / 0.582 GB, free: 6.289 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.1453, allocations: 25.7 kB / 0.582 GB, free: 6.258 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.009e-05/0.1453, allocations: 88.14 kB / 0.5821 GB, free: 6.168 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.592e-05/0.1454, allocations: 23.55 kB / 0.5821 GB, free: 6.145 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.664e-05/0.1454, allocations: 25.72 kB / 0.5822 GB, free: 6.113 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.882e-05/0.1455, allocations: 314.8 kB / 0.5825 GB, free: 5.797 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.697e-05/0.1455, allocations: 16.12 kB / 0.5825 GB, free: 5.781 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.549e-05/0.1456, allocations: 13.77 kB / 0.5825 GB, free: 5.77 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.566e-05/0.1456, allocations: 32.84 kB / 0.5825 GB, free: 5.734 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.1457, allocations: 0 / 0.5825 GB, free: 5.734 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001134/0.1458, allocations: 81.78 kB / 0.5826 GB, free: 5.648 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.1458, allocations: 5.719 kB / 0.5826 GB, free: 5.645 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.1458, allocations: 80 / 0.5826 GB, free: 5.645 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.225e-06/0.1458, allocations: 0 / 0.5826 GB, free: 5.645 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.249e-05/0.1459, allocations: 15.98 kB / 0.5826 GB, free: 5.629 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.1459, allocations: 3.984 kB / 0.5826 GB, free: 5.625 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.266e-05/0.1459, allocations: 4 kB / 0.5826 GB, free: 5.621 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-06/0.1459, allocations: 4 kB / 0.5826 GB, free: 5.617 MB / 494.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 6.863e-05/0.146, allocations: 110.5 kB / 0.5827 GB, free: 5.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.345e-05/0.146, allocations: 11.88 kB / 0.5828 GB, free: 5.488 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001463/0.1462, allocations: 81.58 kB / 0.5828 GB, free: 5.402 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.1462, allocations: 4 kB / 0.5828 GB, free: 5.398 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.1462, allocations: 0 / 0.5828 GB, free: 5.398 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.1462, allocations: 4 kB / 0.5828 GB, free: 5.395 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001151/0.1463, allocations: 165.6 kB / 0.583 GB, free: 5.184 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.1463, allocations: 0 / 0.583 GB, free: 5.184 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.716e-05/0.1464, allocations: 20.12 kB / 0.583 GB, free: 5.164 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1464, allocations: 0 / 0.583 GB, free: 5.164 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.1464, allocations: 4 kB / 0.583 GB, free: 5.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.1465, allocations: 3.984 kB / 0.583 GB, free: 5.156 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1465, allocations: 0 / 0.583 GB, free: 5.156 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001693/0.1466, allocations: 121 kB / 0.5831 GB, free: 5.02 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.263e-05/0.1467, allocations: 81.05 kB / 0.5832 GB, free: 4.922 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.1467, allocations: 4 kB / 0.5832 GB, free: 4.918 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.366e-05/0.1467, allocations: 4.031 kB / 0.5832 GB, free: 4.914 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.299e-05/0.1468, allocations: 0 / 0.5832 GB, free: 4.914 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-06/0.1468, allocations: 7.984 kB / 0.5832 GB, free: 4.906 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.705e-05/0.1468, allocations: 75.28 kB / 0.5833 GB, free: 4.832 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1468, allocations: 3.938 kB / 0.5833 GB, free: 4.828 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002146/0.147, allocations: 32 kB / 0.5833 GB, free: 4.797 MB / 494.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.0004829/0.1475, allocations: 0.6895 MB / 0.584 GB, free: 4.078 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.877e-05/0.1476, allocations: 35.98 kB / 0.584 GB, free: 4.043 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.1476, allocations: 0 / 0.584 GB, free: 4.043 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.671e-05/0.1477, allocations: 27.92 kB / 0.5841 GB, free: 4.016 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001321/0.1478, allocations: 4 kB / 0.5841 GB, free: 4.012 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009475/0.1488, allocations: 1.202 MB / 0.5852 GB, free: 2.73 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000235/0.149, allocations: 0.6809 MB / 0.5859 GB, free: 2.023 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.611e-05/0.149, allocations: 11.81 kB / 0.5859 GB, free: 2.012 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.953e-05/0.1491, allocations: 11.44 kB / 0.5859 GB, free: 2 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1491, allocations: 0 / 0.5859 GB, free: 2 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04126/0.1904, allocations: 1.657 MB / 0.5876 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001933/0.1906, allocations: 218.9 kB / 0.5878 GB, free: 248 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.659/1.85, allocations: 0 / 0.5878 GB, free: 248 kB / 494.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)