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.006629/0.006629, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001522/0.001522, allocations: 187.4 kB / 16.67 MB, free: 5.977 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.435/1.435, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9722/0.9722, allocations: 135.1 MB / 425.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 63.91 kB / 0.5852 GB, free: 3.793 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4633/0.4647, allocations: 80.92 MB / 0.6642 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001558/0.4663, allocations: 0.5938 MB / 0.6648 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003777/0.4666, allocations: 157 kB / 0.6649 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.472e-05/0.4667, allocations: 3.938 kB / 0.6649 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.735e-05/0.4667, allocations: 1.094 kB / 0.6649 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.123e-05/0.4667, allocations: 0 / 0.6649 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003276/0.4671, allocations: 42.98 kB / 0.665 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.865e-05/0.4671, allocations: 14.14 kB / 0.665 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.668e-05/0.4672, allocations: 2.469 kB / 0.665 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.182e-05/0.4672, allocations: 10.59 kB / 0.665 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.278e-05/0.4673, allocations: 11.27 kB / 0.665 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.4673, allocations: 1.375 kB / 0.665 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.979e-05/0.4674, allocations: 35.33 kB / 0.6651 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.474e-05/0.4674, allocations: 5.219 kB / 0.6651 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.21e-05/0.4675, allocations: 10.64 kB / 0.6651 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001041/0.4676, allocations: 33.11 kB / 0.6651 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.4676, allocations: 0 / 0.6651 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.472e-06/0.4676, allocations: 0 / 0.6651 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.4676, allocations: 0 / 0.6651 GB, free: 6.629 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.00036/0.468, allocations: 330.7 kB / 0.6654 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.468, allocations: 8.906 kB / 0.6654 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.809e-05/0.468, allocations: 32.34 kB / 0.6655 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.99e-05/0.4681, allocations: 6.281 kB / 0.6655 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.269e-05/0.4682, allocations: 171.9 kB / 0.6656 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.4682, allocations: 1.688 kB / 0.6656 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.4682, allocations: 5.656 kB / 0.6656 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/0.4683, allocations: 42.28 kB / 0.6657 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.4684, allocations: 11.86 kB / 0.6657 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.4684, allocations: 1.469 kB / 0.6657 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.4684, allocations: 0 / 0.6657 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.586e-05/0.4684, allocations: 16.08 kB / 0.6657 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001411/0.4686, allocations: 162.8 kB / 0.6659 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.784e-05/0.4687, allocations: 45.41 kB / 0.6659 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.243e-05/0.4687, allocations: 16.2 kB / 0.6659 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.664e-05/0.4688, allocations: 84.38 kB / 0.666 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.4688, allocations: 35.69 kB / 0.666 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.4688, allocations: 0 / 0.666 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.001193/0.47, allocations: 495.7 kB / 0.6665 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.579e-05/0.4701, allocations: 52.69 kB / 0.6665 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.431e-05/0.4701, allocations: 95.64 kB / 0.6666 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.4701, allocations: 29.7 kB / 0.6667 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.693e-05/0.4702, allocations: 88.06 kB / 0.6668 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.774e-05/0.4702, allocations: 19.94 kB / 0.6668 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.32e-05/0.4702, allocations: 22.95 kB / 0.6668 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.222e-05/0.4703, allocations: 316.1 kB / 0.6671 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.806e-05/0.4703, allocations: 11.22 kB / 0.6671 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.485e-05/0.4703, allocations: 17.97 kB / 0.6671 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.109e-05/0.4704, allocations: 38.77 kB / 0.6672 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.4704, allocations: 0 / 0.6672 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000101/0.4705, allocations: 70.83 kB / 0.6672 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.4705, allocations: 4.906 kB / 0.6672 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.4706, allocations: 1.375 kB / 0.6672 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.4706, allocations: 0 / 0.6672 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.911e-05/0.4707, allocations: 19.64 kB / 0.6673 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.4707, allocations: 0 / 0.6673 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.327e-05/0.4707, allocations: 5.344 kB / 0.6673 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.4707, allocations: 1.562 kB / 0.6673 GB, free: 4.375 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 5.58e-05/0.4708, allocations: 117.8 kB / 0.6674 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.272e-05/0.4708, allocations: 9.375 kB / 0.6674 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001557/0.4709, allocations: 86.91 kB / 0.6675 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.471, allocations: 1.406 kB / 0.6675 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.471, allocations: 5.656 kB / 0.6675 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.471, allocations: 0 / 0.6675 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.452e-05/0.4711, allocations: 161.1 kB / 0.6676 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.4711, allocations: 0 / 0.6676 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.986e-05/0.4712, allocations: 23.55 kB / 0.6676 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.4712, allocations: 1.281 kB / 0.6676 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.4712, allocations: 0 / 0.6676 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.4712, allocations: 1.594 kB / 0.6676 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.4712, allocations: 4 kB / 0.6677 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001582/0.4714, allocations: 119.5 kB / 0.6678 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.681e-05/0.4714, allocations: 86.08 kB / 0.6678 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/0.4714, allocations: 1.438 kB / 0.6679 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.046e-05/0.4714, allocations: 1.219 kB / 0.6679 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.68e-05/0.4715, allocations: 6.578 kB / 0.6679 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.4715, allocations: 5.531 kB / 0.6679 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.677e-05/0.4715, allocations: 76.69 kB / 0.6679 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4715, allocations: 3.938 kB / 0.6679 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002081/0.4717, allocations: 32.44 kB / 0.668 GB, free: 3.668 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.0003948/0.4721, allocations: 0.6855 MB / 0.6686 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001118/0.4722, allocations: 36.73 kB / 0.6687 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.4722, allocations: 1.438 kB / 0.6687 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.096e-05/0.4723, allocations: 21.52 kB / 0.6687 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001407/0.4724, allocations: 10.47 kB / 0.6687 GB, free: 3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007544/0.4732, allocations: 1.198 MB / 0.6699 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001023/0.4733, allocations: 0.6837 MB / 0.6705 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.116e-05/0.4733, allocations: 11.73 kB / 0.6706 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.112e-05/0.4734, allocations: 16 kB / 0.6706 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.4734, allocations: 0 / 0.6706 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01636/0.4898, allocations: 1.819 MB / 0.6723 GB, free: 140 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.291/7.78, allocations: 4.219 kB / 0.6724 GB, free: 140 kB / 0.4981 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)