Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="IDEAS_dev_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.004956/0.004956, allocations: 102.5 kB / 15.73 MB, free: 6.066 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.001282/0.001282, allocations: 197.1 kB / 16.68 MB, free: 5.973 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.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8453/0.8453, allocations: 135.6 MB / 426.1 MB, free: 3.711 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 73.58 kB / 0.5858 GB, free: 21.58 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1464, allocations: 81.02 MB / 0.6649 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001674/0.1481, allocations: 0.5992 MB / 0.6655 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003968/0.1485, allocations: 162.3 kB / 0.6656 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.206e-05/0.1486, allocations: 4 kB / 0.6657 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.452e-05/0.1486, allocations: 0 / 0.6657 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 1.75e-05/0.1486, allocations: 0 / 0.6657 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002959/0.1489, allocations: 39.84 kB / 0.6657 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.341e-05/0.149, allocations: 12 kB / 0.6657 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.351e-05/0.149, allocations: 15.97 kB / 0.6657 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.578e-05/0.149, allocations: 0 / 0.6657 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.094e-05/0.1491, allocations: 11.94 kB / 0.6657 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.13e-05/0.1491, allocations: 0 / 0.6657 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.638e-05/0.1492, allocations: 35.95 kB / 0.6658 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.649e-05/0.1492, allocations: 7.984 kB / 0.6658 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.888e-05/0.1493, allocations: 3.938 kB / 0.6658 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001054/0.1494, allocations: 40.16 kB / 0.6658 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.1494, allocations: 0 / 0.6658 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.527e-06/0.1494, allocations: 0 / 0.6658 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.1494, allocations: 3.938 kB / 0.6658 GB, free: 4.781 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.0003935/0.1498, allocations: 327.5 kB / 0.6661 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.1498, allocations: 13.11 kB / 0.6661 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.786e-05/0.1499, allocations: 30.75 kB / 0.6662 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.477e-05/0.1499, allocations: 0.9375 kB / 0.6662 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.15, allocations: 172.3 kB / 0.6663 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.438e-06/0.1501, allocations: 384 / 0.6663 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.91e-05/0.1501, allocations: 4.375 kB / 0.6663 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.1502, allocations: 50.17 kB / 0.6664 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-06/0.1502, allocations: 7.938 kB / 0.6664 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.1502, allocations: 4 kB / 0.6664 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1502, allocations: 0 / 0.6664 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.379e-05/0.1503, allocations: 12 kB / 0.6664 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001856/0.1505, allocations: 153.7 kB / 0.6666 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.654e-05/0.1506, allocations: 50.61 kB / 0.6666 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.729e-05/0.1506, allocations: 20.97 kB / 0.6666 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001021/0.1507, allocations: 85.05 kB / 0.6667 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.1508, allocations: 38.5 kB / 0.6667 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.1508, allocations: 0 / 0.6667 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.00124/0.152, allocations: 488.3 kB / 0.6672 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.1521, allocations: 55.41 kB / 0.6673 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.993e-05/0.1521, allocations: 89.86 kB / 0.6673 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.1522, allocations: 33.83 kB / 0.6674 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.909e-05/0.1522, allocations: 80.14 kB / 0.6675 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.43e-05/0.1523, allocations: 31.78 kB / 0.6675 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.079e-05/0.1523, allocations: 21.72 kB / 0.6675 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.1524, allocations: 310.8 kB / 0.6678 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.263e-05/0.1525, allocations: 15.98 kB / 0.6678 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.637e-05/0.1525, allocations: 15.94 kB / 0.6678 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.941e-05/0.1526, allocations: 36.84 kB / 0.6679 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.1526, allocations: 0 / 0.6679 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001144/0.1527, allocations: 69.62 kB / 0.6679 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.1527, allocations: 8 kB / 0.6679 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.1527, allocations: 3.938 kB / 0.6679 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.1527, allocations: 0 / 0.6679 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.956e-05/0.1528, allocations: 15.98 kB / 0.668 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.1528, allocations: 0 / 0.668 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.421e-05/0.1529, allocations: 7.938 kB / 0.668 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.1529, allocations: 4 kB / 0.668 GB, free: 2.25 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 8.183e-05/0.153, allocations: 113.8 kB / 0.6681 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.82e-05/0.153, allocations: 7.938 kB / 0.6681 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001673/0.1532, allocations: 85.92 kB / 0.6682 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.1532, allocations: 0 / 0.6682 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.1532, allocations: 4.188 kB / 0.6682 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1532, allocations: 0 / 0.6682 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001409/0.1533, allocations: 173.6 kB / 0.6683 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1534, allocations: 0 / 0.6683 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.022e-05/0.1534, allocations: 19.88 kB / 0.6684 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.1534, allocations: 0 / 0.6684 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.1535, allocations: 4 kB / 0.6684 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.1535, allocations: 0 / 0.6684 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1535, allocations: 3.938 kB / 0.6684 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001895/0.1537, allocations: 117.1 kB / 0.6685 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.527e-05/0.1537, allocations: 85.03 kB / 0.6686 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.1537, allocations: 0 / 0.6686 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.349e-05/0.1538, allocations: 4.031 kB / 0.6686 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.531e-05/0.1538, allocations: 0 / 0.6686 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.1538, allocations: 19.98 kB / 0.6686 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.532e-05/0.1539, allocations: 75.28 kB / 0.6687 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1539, allocations: 0 / 0.6687 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002207/0.1541, allocations: 27.94 kB / 0.6687 GB, free: 1.422 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.0005856/0.1547, allocations: 0.6867 MB / 0.6694 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001173/0.1548, allocations: 35.92 kB / 0.6694 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1548, allocations: 0 / 0.6694 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.945e-05/0.1549, allocations: 23.98 kB / 0.6694 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001428/0.155, allocations: 4 kB / 0.6694 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.1562, allocations: 1.199 MB / 0.6706 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002973/0.1565, allocations: 0.6807 MB / 0.6712 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.858e-05/0.1565, allocations: 11.75 kB / 0.6713 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.989e-05/0.1566, allocations: 19.42 kB / 0.6713 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.1566, allocations: 0 / 0.6713 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02344/0.18, allocations: 1.82 MB / 0.6731 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.596/7.776, allocations: 4.891 kB / 0.6731 GB, free: 12.94 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)