Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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: translateModel(IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009931/0.0009933, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5306/0.5306, allocations: 90.91 MB / 99.34 MB, free: 2.168 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 221.5 MB / 343.2 MB, free: 1.609 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008389/0.0008389, allocations: 99.38 kB / 415.9 MB, free: 11.18 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.815e-05/1.817e-05, allocations: 4 kB / 494.5 MB, free: 52.41 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1162, allocations: 72.33 MB / 0.5535 GB, free: 12.26 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3885/0.5047, allocations: 100.3 MB / 0.6515 GB, free: 9.891 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002487/0.505, allocations: 74.89 kB / 0.6516 GB, free: 9.848 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005244/0.5103, allocations: 2.032 MB / 0.6536 GB, free: 8.152 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.5103, allocations: 0 / 0.6536 GB, free: 8.152 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.5103, allocations: 0 / 0.6536 GB, free: 8.152 MB / 458.7 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.0002591/0.5106, allocations: 337.8 kB / 0.6539 GB, free: 7.781 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.5106, allocations: 8.031 kB / 0.6539 GB, free: 7.773 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.101e-05/0.5106, allocations: 7.859 kB / 0.6539 GB, free: 7.766 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.5108, allocations: 167 kB / 0.6541 GB, free: 7.562 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.5108, allocations: 0 / 0.6541 GB, free: 7.562 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.5108, allocations: 7.188 kB / 0.6541 GB, free: 7.559 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.404e-05/0.5109, allocations: 11.98 kB / 0.6541 GB, free: 7.547 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.645e-05/0.5109, allocations: 36.89 kB / 0.6541 GB, free: 7.508 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.511, allocations: 0 / 0.6541 GB, free: 7.508 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.511, allocations: 4 kB / 0.6541 GB, free: 7.504 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.511, allocations: 7.953 kB / 0.6541 GB, free: 7.496 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000133/0.5111, allocations: 141.4 kB / 0.6543 GB, free: 7.328 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.116e-05/0.5112, allocations: 41.5 kB / 0.6543 GB, free: 7.285 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.728e-05/0.5112, allocations: 15.8 kB / 0.6543 GB, free: 7.27 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.171e-05/0.5113, allocations: 84.36 kB / 0.6544 GB, free: 7.172 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.5114, allocations: 38.55 kB / 0.6545 GB, free: 7.125 MB / 458.7 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.5114, allocations: 4 kB / 0.6545 GB, free: 7.121 MB / 458.7 MB Notification: Performance of matching and sorting (n=7): time 0.0009793/0.5124, allocations: 434.2 kB / 0.6549 GB, free: 6.641 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.699e-05/0.5124, allocations: 51.41 kB / 0.6549 GB, free: 6.578 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.198e-05/0.5125, allocations: 88.5 kB / 0.655 GB, free: 6.488 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.5125, allocations: 25.7 kB / 0.655 GB, free: 6.457 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.891e-05/0.5125, allocations: 80.14 kB / 0.6551 GB, free: 6.375 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.949e-05/0.5126, allocations: 34.64 kB / 0.6551 GB, free: 6.344 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-06/0.5126, allocations: 0 / 0.6551 GB, free: 6.344 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.5127, allocations: 314.8 kB / 0.6554 GB, free: 6.027 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.951e-05/0.5127, allocations: 11.5 kB / 0.6554 GB, free: 6.02 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.031e-05/0.5127, allocations: 18.72 kB / 0.6555 GB, free: 6.004 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.097e-05/0.5128, allocations: 11.55 kB / 0.6555 GB, free: 5.996 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.5128, allocations: 0 / 0.6555 GB, free: 5.996 MB / 458.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001035/0.5129, allocations: 75.77 kB / 0.6555 GB, free: 5.922 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.5129, allocations: 4 kB / 0.6556 GB, free: 5.918 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.5129, allocations: 0 / 0.6556 GB, free: 5.918 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.513, allocations: 4 kB / 0.6556 GB, free: 5.914 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.339e-05/0.513, allocations: 19.97 kB / 0.6556 GB, free: 5.895 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.5131, allocations: 0 / 0.6556 GB, free: 5.895 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.209e-05/0.5131, allocations: 0 / 0.6556 GB, free: 5.895 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.799e-06/0.5131, allocations: 7.25 kB / 0.6556 GB, free: 5.891 MB / 458.7 MB 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 6.745e-05/0.5132, allocations: 104.9 kB / 0.6557 GB, free: 5.781 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.719e-06/0.5132, allocations: 4 kB / 0.6557 GB, free: 5.777 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001637/0.5134, allocations: 80.45 kB / 0.6558 GB, free: 5.707 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.5134, allocations: 3.984 kB / 0.6558 GB, free: 5.703 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.5134, allocations: 0 / 0.6558 GB, free: 5.703 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.5134, allocations: 0 / 0.6558 GB, free: 5.703 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.807e-05/0.5135, allocations: 146.1 kB / 0.6559 GB, free: 5.527 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.5135, allocations: 0 / 0.6559 GB, free: 5.527 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.535e-05/0.5136, allocations: 12 kB / 0.6559 GB, free: 5.516 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.5136, allocations: 0 / 0.6559 GB, free: 5.516 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.5136, allocations: 0 / 0.6559 GB, free: 5.516 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.5136, allocations: 4.234 kB / 0.6559 GB, free: 5.512 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.5136, allocations: 0 / 0.6559 GB, free: 5.512 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001576/0.5138, allocations: 110.7 kB / 0.656 GB, free: 5.398 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.219e-05/0.5138, allocations: 85.06 kB / 0.6561 GB, free: 5.297 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.5138, allocations: 4.031 kB / 0.6561 GB, free: 5.293 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.004e-05/0.5139, allocations: 3.984 kB / 0.6561 GB, free: 5.289 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.486e-05/0.5139, allocations: 7.062 kB / 0.6561 GB, free: 5.285 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-06/0.5139, allocations: 0 / 0.6561 GB, free: 5.285 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.522e-05/0.5139, allocations: 75.28 kB / 0.6562 GB, free: 5.211 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.514, allocations: 4.156 kB / 0.6562 GB, free: 5.207 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000205/0.5142, allocations: 43.92 kB / 0.6562 GB, free: 5.164 MB / 458.7 MB 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.0002267/0.5144, allocations: 142.6 kB / 0.6564 GB, free: 5.016 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 8.764e-05/0.5145, allocations: 34.81 kB / 0.6564 GB, free: 4.988 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5145, allocations: 0 / 0.6564 GB, free: 4.988 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.468e-05/0.5145, allocations: 19.25 kB / 0.6564 GB, free: 4.973 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001113/0.5147, allocations: 1.125 kB / 0.6564 GB, free: 4.973 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002481/0.5149, allocations: 103.9 kB / 0.6565 GB, free: 4.855 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002038/0.5151, allocations: 0.6846 MB / 0.6572 GB, free: 4.145 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.892e-05/0.5152, allocations: 4.188 kB / 0.6572 GB, free: 4.137 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.918e-05/0.5152, allocations: 11.44 kB / 0.6572 GB, free: 4.125 MB / 458.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5152, allocations: 0 / 0.6572 GB, free: 4.125 MB / 458.7 MB Notification: Performance of Templates: time 0.00254/0.5177, allocations: 0.7207 MB / 0.6579 GB, free: 3.414 MB / 458.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)