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.001108/0.001108, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.009284/0.009285, allocations: 171.4 kB / 16.26 MB, free: 6.676 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.343/1.343, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8242/0.8242, allocations: 135.3 MB / 426.7 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005096/0.0005097, allocations: 9.344 kB / 0.5077 GB, free: 4.672 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1506, allocations: 82.31 MB / 0.5881 GB, free: 2.531 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.0004639/0.1511, allocations: 323.1 kB / 0.5884 GB, free: 2.211 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002672/0.1514, allocations: 155.5 kB / 0.5885 GB, free: 2.059 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.684e-06/0.1514, allocations: 0 / 0.5885 GB, free: 2.059 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.584e-06/0.1514, allocations: 4 kB / 0.5886 GB, free: 2.055 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.827e-06/0.1514, allocations: 3.938 kB / 0.5886 GB, free: 2.051 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001415/0.1516, allocations: 33.77 kB / 0.5886 GB, free: 2.02 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 2.694e-05/0.1516, allocations: 15.98 kB / 0.5886 GB, free: 2.004 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 1.69e-05/0.1516, allocations: 0 / 0.5886 GB, free: 2.004 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.096e-05/0.1516, allocations: 8 kB / 0.5886 GB, free: 1.996 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.103e-05/0.1517, allocations: 15.91 kB / 0.5886 GB, free: 1.98 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.191e-06/0.1517, allocations: 0 / 0.5886 GB, free: 1.98 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.551e-05/0.1518, allocations: 31.97 kB / 0.5887 GB, free: 1.949 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.003e-06/0.1518, allocations: 0 / 0.5887 GB, free: 1.949 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.241e-05/0.1518, allocations: 41.62 kB / 0.5887 GB, free: 1.902 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 5.311e-05/0.1519, allocations: 27.95 kB / 0.5887 GB, free: 1.875 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.305e-06/0.1519, allocations: 0 / 0.5887 GB, free: 1.875 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.52e-07/0.1519, allocations: 4 kB / 0.5887 GB, free: 1.871 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.864e-06/0.1519, allocations: 0 / 0.5887 GB, free: 1.871 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.0002215/0.1521, allocations: 323.6 kB / 0.589 GB, free: 1.504 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.296e-05/0.1521, allocations: 12.03 kB / 0.589 GB, free: 1.492 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.999e-05/0.1522, allocations: 30.75 kB / 0.5891 GB, free: 1.453 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.492e-05/0.1522, allocations: 4.844 kB / 0.5891 GB, free: 1.449 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.924e-05/0.1523, allocations: 172.6 kB / 0.5892 GB, free: 1.242 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.1523, allocations: 4.375 kB / 0.5892 GB, free: 1.238 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.591e-05/0.1523, allocations: 8.375 kB / 0.5893 GB, free: 1.23 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.558e-05/0.1524, allocations: 42.25 kB / 0.5893 GB, free: 1.184 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.991e-06/0.1524, allocations: 7.875 kB / 0.5893 GB, free: 1.176 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.522e-06/0.1524, allocations: 0 / 0.5893 GB, free: 1.176 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.493e-06/0.1524, allocations: 7.938 kB / 0.5893 GB, free: 1.168 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.515e-05/0.1524, allocations: 15.98 kB / 0.5893 GB, free: 1.152 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001273/0.1526, allocations: 157.6 kB / 0.5895 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.238e-05/0.1527, allocations: 50.55 kB / 0.5895 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.605e-05/0.1527, allocations: 20.98 kB / 0.5895 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.232e-05/0.1528, allocations: 85.09 kB / 0.5896 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.633e-05/0.1528, allocations: 30.56 kB / 0.5897 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 8.92e-07/0.1528, allocations: 0 / 0.5897 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.000976/0.1538, allocations: 488.5 kB / 0.5901 GB, free: 180 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.131e-05/0.1538, allocations: 51.41 kB / 0.5902 GB, free: 116 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.853e-05/0.1539, allocations: 93.86 kB / 0.5903 GB, free: 12 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.1539, allocations: 33.64 kB / 0.5903 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.067e-05/0.1539, allocations: 84.14 kB / 0.5904 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.334e-05/0.1539, allocations: 23.64 kB / 0.5904 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.052e-05/0.154, allocations: 13.72 kB / 0.5904 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.541e-05/0.154, allocations: 318.8 kB / 0.5907 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.213e-05/0.1541, allocations: 8 kB / 0.5907 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.943e-05/0.1541, allocations: 12 kB / 0.5907 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.605e-05/0.1542, allocations: 49.17 kB / 0.5908 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.1542, allocations: 0 / 0.5908 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.434e-05/0.1543, allocations: 73.53 kB / 0.5908 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.504e-06/0.1543, allocations: 4 kB / 0.5909 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.983e-06/0.1543, allocations: 0 / 0.5909 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.99e-06/0.1543, allocations: 0 / 0.5909 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.447e-05/0.1544, allocations: 23.92 kB / 0.5909 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.314e-06/0.1544, allocations: 0 / 0.5909 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.968e-05/0.1544, allocations: 0 / 0.5909 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.1544, allocations: 4 kB / 0.5909 GB, free: 15.34 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.029e-05/0.1545, allocations: 113.8 kB / 0.591 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.153e-05/0.1545, allocations: 7.938 kB / 0.591 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001312/0.1546, allocations: 77.58 kB / 0.5911 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.1546, allocations: 4 kB / 0.5911 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-06/0.1546, allocations: 3.938 kB / 0.5911 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.1546, allocations: 0 / 0.5911 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.698e-05/0.1547, allocations: 173.6 kB / 0.5912 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.1548, allocations: 0 / 0.5912 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.911e-05/0.1548, allocations: 19.94 kB / 0.5913 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1548, allocations: 0 / 0.5913 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.759e-06/0.1548, allocations: 0 / 0.5913 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.1548, allocations: 3.984 kB / 0.5913 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1549, allocations: 0 / 0.5913 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001407/0.155, allocations: 121 kB / 0.5914 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.642e-05/0.155, allocations: 81.05 kB / 0.5915 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.766e-06/0.155, allocations: 0 / 0.5915 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.991e-05/0.1551, allocations: 12.09 kB / 0.5915 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.617e-06/0.1551, allocations: 0 / 0.5915 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.1551, allocations: 7.984 kB / 0.5915 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.281e-05/0.1551, allocations: 75.28 kB / 0.5915 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1552, allocations: 0 / 0.5915 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001943/0.1554, allocations: 32 kB / 0.5916 GB, free: 14.52 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.0004009/0.1558, allocations: 0.6882 MB / 0.5923 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.019e-05/0.1558, allocations: 40.28 kB / 0.5923 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.203e-06/0.1558, allocations: 0 / 0.5923 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.447e-05/0.1559, allocations: 28.08 kB / 0.5923 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001122/0.156, allocations: 4 kB / 0.5923 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007648/0.1568, allocations: 1.195 MB / 0.5935 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001648/0.157, allocations: 0.6867 MB / 0.5942 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.929e-05/0.157, allocations: 7.984 kB / 0.5942 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.526e-05/0.157, allocations: 15.44 kB / 0.5942 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of SimCode: time 2.01e-07/0.157, allocations: 0 / 0.5942 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.641/1.798, allocations: 1.601 MB / 0.5957 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002218/1.798, allocations: 215.9 kB / 0.5959 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.529/3.328, allocations: 1.75 kB / 0.596 GB, free: 10.07 MB / 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)