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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 173.7 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8095/0.8095, allocations: 133.6 MB / 141.6 MB, free: 2.906 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.57/1.57, allocations: 221.5 MB / 395.5 MB, free: 10.75 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 94.97 kB / 478.2 MB, free: 1.289 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 4.525e-05/4.555e-05, allocations: 8 kB / 0.5536 GB, free: 8.918 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4644/0.4644, allocations: 82.3 MB / 0.6339 GB, free: 40.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1744/0.6389, allocations: 110.1 MB / 0.7415 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002118/0.6391, allocations: 71.95 kB / 0.7415 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.005485/0.6446, allocations: 2.031 MB / 0.7435 GB, free: 10.45 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.096e-06/0.6447, allocations: 3.984 kB / 0.7435 GB, free: 10.44 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.6447, allocations: 0 / 0.7435 GB, free: 10.44 MB / 0.5261 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.0002933/0.645, allocations: 338.4 kB / 0.7439 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.645, allocations: 8.031 kB / 0.7439 GB, free: 10.06 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.407e-05/0.6451, allocations: 7.906 kB / 0.7439 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.6452, allocations: 163 kB / 0.744 GB, free: 9.852 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.6452, allocations: 0 / 0.744 GB, free: 9.852 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.6452, allocations: 4 kB / 0.744 GB, free: 9.848 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.956e-05/0.6453, allocations: 15.98 kB / 0.744 GB, free: 9.832 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.272e-05/0.6454, allocations: 29.7 kB / 0.7441 GB, free: 9.797 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.076e-06/0.6454, allocations: 3.984 kB / 0.7441 GB, free: 9.793 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.6454, allocations: 4 kB / 0.7441 GB, free: 9.789 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.6454, allocations: 4 kB / 0.7441 GB, free: 9.785 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001474/0.6456, allocations: 134.2 kB / 0.7442 GB, free: 9.617 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.187e-05/0.6457, allocations: 50.52 kB / 0.7443 GB, free: 9.559 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.172e-05/0.6457, allocations: 16.98 kB / 0.7443 GB, free: 9.539 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001041/0.6458, allocations: 81.05 kB / 0.7444 GB, free: 9.441 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.6459, allocations: 46.48 kB / 0.7444 GB, free: 9.387 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.6459, allocations: 0 / 0.7444 GB, free: 9.387 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.00104/0.6469, allocations: 448.2 kB / 0.7448 GB, free: 8.875 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.911e-05/0.647, allocations: 55.39 kB / 0.7449 GB, free: 8.809 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.692e-05/0.647, allocations: 85 kB / 0.745 GB, free: 8.719 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.6471, allocations: 29.69 kB / 0.745 GB, free: 8.684 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.825e-05/0.6471, allocations: 80.14 kB / 0.7451 GB, free: 8.602 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.45e-05/0.6471, allocations: 23.66 kB / 0.7451 GB, free: 8.578 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/0.6471, allocations: 4.125 kB / 0.7451 GB, free: 8.574 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.6473, allocations: 314.8 kB / 0.7454 GB, free: 8.258 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.334e-05/0.6473, allocations: 11.98 kB / 0.7454 GB, free: 8.246 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.248e-05/0.6473, allocations: 16.02 kB / 0.7454 GB, free: 8.23 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.96e-05/0.6474, allocations: 16.14 kB / 0.7454 GB, free: 8.215 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.6474, allocations: 0 / 0.7454 GB, free: 8.215 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001103/0.6475, allocations: 65.55 kB / 0.7455 GB, free: 8.145 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.6475, allocations: 4 kB / 0.7455 GB, free: 8.141 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.6475, allocations: 0 / 0.7455 GB, free: 8.141 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.6475, allocations: 7.984 kB / 0.7455 GB, free: 8.133 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.928e-05/0.6476, allocations: 15.94 kB / 0.7455 GB, free: 8.117 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.6476, allocations: 0 / 0.7455 GB, free: 8.117 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.316e-05/0.6477, allocations: 0 / 0.7455 GB, free: 8.117 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.6477, allocations: 8 kB / 0.7455 GB, free: 8.109 MB / 0.5261 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 7.059e-05/0.6478, allocations: 106.6 kB / 0.7456 GB, free: 8 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001093/0.6479, allocations: 65.62 kB / 0.7457 GB, free: 7.93 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.254e-06/0.6479, allocations: 0 / 0.7457 GB, free: 7.93 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001616/0.6481, allocations: 81.97 kB / 0.7458 GB, free: 7.844 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.6481, allocations: 0 / 0.7458 GB, free: 7.844 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.6481, allocations: 4 kB / 0.7458 GB, free: 7.84 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.6481, allocations: 0 / 0.7458 GB, free: 7.84 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001054/0.6482, allocations: 138.2 kB / 0.7459 GB, free: 7.668 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.6482, allocations: 3.953 kB / 0.7459 GB, free: 7.664 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.495e-05/0.6483, allocations: 19.92 kB / 0.7459 GB, free: 7.645 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.6483, allocations: 0 / 0.7459 GB, free: 7.645 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.6483, allocations: 4 kB / 0.7459 GB, free: 7.641 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.6483, allocations: 256 / 0.7459 GB, free: 7.641 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.6483, allocations: 4 kB / 0.7459 GB, free: 7.637 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002168/0.6486, allocations: 109 kB / 0.746 GB, free: 7.512 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.953e-05/0.6486, allocations: 85.05 kB / 0.7461 GB, free: 7.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.6486, allocations: 0 / 0.7461 GB, free: 7.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.176e-05/0.6487, allocations: 0 / 0.7461 GB, free: 7.41 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.499e-05/0.6487, allocations: 8.031 kB / 0.7461 GB, free: 7.402 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/0.6487, allocations: 7.984 kB / 0.7461 GB, free: 7.395 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.32e-05/0.6488, allocations: 83.28 kB / 0.7462 GB, free: 7.312 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6488, allocations: 0 / 0.7462 GB, free: 7.312 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002253/0.649, allocations: 35.94 kB / 0.7463 GB, free: 7.277 MB / 0.5261 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.0005579/0.6496, allocations: 0.6787 MB / 0.7469 GB, free: 6.566 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001002/0.6497, allocations: 36.33 kB / 0.747 GB, free: 6.531 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.6497, allocations: 160 / 0.747 GB, free: 6.531 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.195e-05/0.6497, allocations: 24.16 kB / 0.747 GB, free: 6.508 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001167/0.6498, allocations: 6.766 kB / 0.747 GB, free: 6.504 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004035/0.6503, allocations: 147.4 kB / 0.7471 GB, free: 6.324 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002502/0.6505, allocations: 0.6846 MB / 0.7478 GB, free: 5.613 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.758e-05/0.6506, allocations: 4.188 kB / 0.7478 GB, free: 5.605 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.434e-05/0.6506, allocations: 19.44 kB / 0.7478 GB, free: 5.59 MB / 0.5261 GB Notification: Performance of SimCode: time 2.7e-07/0.6506, allocations: 3.938 kB / 0.7478 GB, free: 5.586 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02006/0.6707, allocations: 1.165 MB / 0.749 GB, free: 4.43 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002591/0.671, allocations: 163.3 kB / 0.7491 GB, free: 4.238 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.432/2.103, allocations: 0 / 0.7491 GB, free: 4.238 MB / 0.5261 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/linux/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)