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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 175.1 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.875/0.875, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.636/1.636, allocations: 221.3 MB / 400.4 MB, free: 5.855 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009393/0.0009393, allocations: 94.89 kB / 483.3 MB, free: 5.891 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.328e-05/5.338e-05, allocations: 5.562 kB / 0.5601 GB, free: 87.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1549, allocations: 82.31 MB / 0.6405 GB, free: 7.727 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5443/0.6992, allocations: 110.8 MB / 0.7487 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002211/0.6995, allocations: 76.52 kB / 0.7488 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.005537/0.705, allocations: 2.044 MB / 0.7508 GB, free: 27.47 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.874e-06/0.7051, allocations: 0 / 0.7508 GB, free: 27.47 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.7051, allocations: 0 / 0.7508 GB, free: 27.47 MB / 0.5105 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.0002965/0.7054, allocations: 328.2 kB / 0.7511 GB, free: 27.12 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.7055, allocations: 7.688 kB / 0.7511 GB, free: 27.12 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.738e-05/0.7055, allocations: 37.88 kB / 0.7511 GB, free: 27.08 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.933e-05/0.7056, allocations: 10.14 kB / 0.7511 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.7057, allocations: 163 kB / 0.7513 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.7057, allocations: 0 / 0.7513 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.452e-05/0.7057, allocations: 11.02 kB / 0.7513 GB, free: 26.87 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001155/0.7059, allocations: 43.89 kB / 0.7513 GB, free: 26.84 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.7059, allocations: 0 / 0.7513 GB, free: 26.84 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.7059, allocations: 0 / 0.7513 GB, free: 26.84 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.7059, allocations: 1.938 kB / 0.7514 GB, free: 26.84 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.352e-05/0.7059, allocations: 16.56 kB / 0.7514 GB, free: 26.84 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001514/0.7061, allocations: 170.9 kB / 0.7515 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 7.755e-05/0.7062, allocations: 39.94 kB / 0.7516 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.886e-05/0.7062, allocations: 27.8 kB / 0.7516 GB, free: 26.6 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001057/0.7063, allocations: 80.95 kB / 0.7517 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.7064, allocations: 33.14 kB / 0.7517 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.7064, allocations: 0 / 0.7517 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of matching and sorting (n=7): time 0.001146/0.7075, allocations: 478.7 kB / 0.7522 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/0.7076, allocations: 51.41 kB / 0.7522 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.389e-05/0.7077, allocations: 88.88 kB / 0.7523 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.7077, allocations: 28.58 kB / 0.7523 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.124e-05/0.7077, allocations: 80.14 kB / 0.7524 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.918e-05/0.7078, allocations: 24.95 kB / 0.7524 GB, free: 25.81 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.329e-06/0.7078, allocations: 0 / 0.7524 GB, free: 25.81 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.7079, allocations: 322 kB / 0.7527 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.845e-05/0.7079, allocations: 13.64 kB / 0.7527 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.134e-05/0.708, allocations: 14.62 kB / 0.7528 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.187e-05/0.708, allocations: 17.03 kB / 0.7528 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.708, allocations: 0 / 0.7528 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001088/0.7081, allocations: 70.34 kB / 0.7528 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.7081, allocations: 3.812 kB / 0.7528 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.7082, allocations: 320 / 0.7528 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.7082, allocations: 0 / 0.7528 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.859e-05/0.7083, allocations: 13.58 kB / 0.7529 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.7083, allocations: 4 kB / 0.7529 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.162e-05/0.7083, allocations: 3.875 kB / 0.7529 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.7083, allocations: 9.125 kB / 0.7529 GB, free: 25.44 MB / 0.5105 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.278e-05/0.7084, allocations: 112.7 kB / 0.753 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.919e-06/0.7084, allocations: 0 / 0.753 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000153/0.7086, allocations: 79.39 kB / 0.7531 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.7086, allocations: 0 / 0.7531 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.7086, allocations: 0 / 0.7531 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.7086, allocations: 7.906 kB / 0.7531 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.145e-05/0.7087, allocations: 169.2 kB / 0.7532 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.7087, allocations: 0 / 0.7532 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.509e-05/0.7088, allocations: 13.69 kB / 0.7532 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.7088, allocations: 3.938 kB / 0.7532 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.7088, allocations: 7.5 kB / 0.7532 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.7088, allocations: 0 / 0.7532 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.7088, allocations: 3.938 kB / 0.7533 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001508/0.709, allocations: 117.9 kB / 0.7534 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.296e-05/0.709, allocations: 81.06 kB / 0.7534 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.674e-05/0.7091, allocations: 0 / 0.7534 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.054e-05/0.7091, allocations: 7 kB / 0.7534 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.621e-05/0.7091, allocations: 2.578 kB / 0.7535 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.7092, allocations: 8.047 kB / 0.7535 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.012e-05/0.7092, allocations: 75.28 kB / 0.7535 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7092, allocations: 0 / 0.7535 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002153/0.7094, allocations: 45.67 kB / 0.7536 GB, free: 24.82 MB / 0.5105 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004997/0.7099, allocations: 0.6987 MB / 0.7543 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 8.668e-05/0.71, allocations: 39.98 kB / 0.7543 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.71, allocations: 0 / 0.7543 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.625e-05/0.7101, allocations: 18.78 kB / 0.7543 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.919e-05/0.7102, allocations: 3.906 kB / 0.7543 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000343/0.7105, allocations: 159.3 kB / 0.7545 GB, free: 24.07 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002387/0.7108, allocations: 0.6823 MB / 0.7551 GB, free: 23.38 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.569e-05/0.7108, allocations: 7.016 kB / 0.7551 GB, free: 23.37 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.986e-05/0.7109, allocations: 14.59 kB / 0.7552 GB, free: 23.37 MB / 0.5105 GB Notification: Performance of SimCode: time 2.81e-07/0.7109, allocations: 0 / 0.7552 GB, free: 23.37 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01191/0.7228, allocations: 1.474 MB / 0.7566 GB, free: 23.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001324/0.7229, allocations: 174 kB / 0.7568 GB, free: 22.97 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.557/2.28, allocations: 0 / 0.7568 GB, free: 22.97 MB / 0.5105 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/linux/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)