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/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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: 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 117.2 kB / 17.09 MB, free: 6.012 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.001064/0.001064, allocations: 195 kB / 18.02 MB, free: 5.094 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.326/1.326, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7522/0.7522, allocations: 115.3 MB / 407.2 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 67.83 kB / 0.5584 GB, free: 32.2 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.129, allocations: 76.17 MB / 0.6328 GB, free: 4.348 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001605/0.1307, allocations: 0.5987 MB / 0.6334 GB, free: 3.754 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003691/0.131, allocations: 155.8 kB / 0.6335 GB, free: 3.602 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.402e-05/0.1311, allocations: 4 kB / 0.6335 GB, free: 3.598 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.082e-05/0.1311, allocations: 3.938 kB / 0.6335 GB, free: 3.594 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 2.159e-05/0.1311, allocations: 0 / 0.6335 GB, free: 3.594 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002959/0.1314, allocations: 35.89 kB / 0.6336 GB, free: 3.559 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 5.17e-05/0.1315, allocations: 15.98 kB / 0.6336 GB, free: 3.543 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.714e-05/0.1315, allocations: 4 kB / 0.6336 GB, free: 3.539 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.947e-05/0.1316, allocations: 3.984 kB / 0.6336 GB, free: 3.535 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.348e-05/0.1316, allocations: 23.86 kB / 0.6336 GB, free: 3.512 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.146e-05/0.1317, allocations: 3.938 kB / 0.6336 GB, free: 3.508 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.935e-05/0.1317, allocations: 31.97 kB / 0.6336 GB, free: 3.477 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.534e-05/0.1318, allocations: 7.984 kB / 0.6336 GB, free: 3.469 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.367e-05/0.1318, allocations: 7.938 kB / 0.6336 GB, free: 3.461 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 9.035e-05/0.1319, allocations: 27.95 kB / 0.6337 GB, free: 3.434 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1319, allocations: 4 kB / 0.6337 GB, free: 3.43 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1319, allocations: 0 / 0.6337 GB, free: 3.43 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.854e-06/0.1319, allocations: 0 / 0.6337 GB, free: 3.43 MB / 478.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.0003671/0.1323, allocations: 327.6 kB / 0.634 GB, free: 3.059 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.1323, allocations: 16.02 kB / 0.634 GB, free: 3.043 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.109e-05/0.1324, allocations: 0.9375 kB / 0.634 GB, free: 3.043 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.1325, allocations: 168.2 kB / 0.6342 GB, free: 2.84 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.1325, allocations: 8.312 kB / 0.6342 GB, free: 2.832 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.082e-05/0.1325, allocations: 384 / 0.6342 GB, free: 2.832 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.1326, allocations: 46.25 kB / 0.6342 GB, free: 2.781 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.1326, allocations: 192 / 0.6342 GB, free: 2.781 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.1327, allocations: 3.938 kB / 0.6342 GB, free: 2.777 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.1327, allocations: 0 / 0.6342 GB, free: 2.777 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.059e-05/0.1327, allocations: 19.92 kB / 0.6342 GB, free: 2.758 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001612/0.1329, allocations: 161.7 kB / 0.6344 GB, free: 2.551 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.235e-05/0.133, allocations: 46.55 kB / 0.6344 GB, free: 2.496 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.204e-05/0.133, allocations: 16.98 kB / 0.6345 GB, free: 2.477 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001024/0.1331, allocations: 85.09 kB / 0.6345 GB, free: 2.375 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.1332, allocations: 34.56 kB / 0.6346 GB, free: 2.332 MB / 478.1 MB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.1332, allocations: 0 / 0.6346 GB, free: 2.332 MB / 478.1 MB Notification: Performance of matching and sorting (n=7): time 0.001197/0.1344, allocations: 496 kB / 0.635 GB, free: 1.773 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/0.1344, allocations: 51.41 kB / 0.6351 GB, free: 1.711 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.443e-05/0.1345, allocations: 97.84 kB / 0.6352 GB, free: 1.605 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.1345, allocations: 29.7 kB / 0.6352 GB, free: 1.57 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.634e-05/0.1345, allocations: 80.14 kB / 0.6353 GB, free: 1.488 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.892e-05/0.1346, allocations: 19.78 kB / 0.6353 GB, free: 1.469 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.706e-05/0.1346, allocations: 29.7 kB / 0.6353 GB, free: 1.434 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.1347, allocations: 314.8 kB / 0.6356 GB, free: 1.117 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.771e-05/0.1348, allocations: 11.94 kB / 0.6357 GB, free: 1.105 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.407e-05/0.1348, allocations: 15.98 kB / 0.6357 GB, free: 1.09 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.166e-05/0.1349, allocations: 32.86 kB / 0.6357 GB, free: 1.055 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.1349, allocations: 3.938 kB / 0.6357 GB, free: 1.051 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001101/0.135, allocations: 73.58 kB / 0.6358 GB, free: 0.9727 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.135, allocations: 7.938 kB / 0.6358 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.135, allocations: 7.984 kB / 0.6358 GB, free: 0.957 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.135, allocations: 4 kB / 0.6358 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.252e-05/0.1351, allocations: 8 kB / 0.6358 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.1351, allocations: 4 kB / 0.6358 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.263e-05/0.1352, allocations: 0 / 0.6358 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.1352, allocations: 448 / 0.6358 GB, free: 0.9414 MB / 478.1 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 () * 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 7.118e-05/0.1352, allocations: 118.4 kB / 0.6359 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.315e-05/0.1353, allocations: 11.86 kB / 0.6359 GB, free: 0.8047 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001748/0.1354, allocations: 85.64 kB / 0.636 GB, free: 0.707 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.1355, allocations: 0 / 0.636 GB, free: 0.707 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.1355, allocations: 4 kB / 0.636 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.1355, allocations: 0 / 0.636 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001198/0.1356, allocations: 165.7 kB / 0.6362 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1356, allocations: 0 / 0.6362 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.814e-05/0.1357, allocations: 15.98 kB / 0.6362 GB, free: 488 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.1357, allocations: 3.938 kB / 0.6362 GB, free: 484 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.1357, allocations: 4 kB / 0.6362 GB, free: 480 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.1357, allocations: 0 / 0.6362 GB, free: 480 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1357, allocations: 3.938 kB / 0.6362 GB, free: 476 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001562/0.1359, allocations: 113 kB / 0.6363 GB, free: 344 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.196e-05/0.1359, allocations: 89.08 kB / 0.6364 GB, free: 236 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.136, allocations: 0 / 0.6364 GB, free: 236 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.156e-05/0.136, allocations: 0 / 0.6364 GB, free: 236 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.847e-05/0.136, allocations: 7.984 kB / 0.6364 GB, free: 228 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/0.136, allocations: 0 / 0.6364 GB, free: 228 kB / 478.1 MB Notification: Performance of sorting global known variables: time 3.469e-05/0.1361, allocations: 87.34 kB / 0.6365 GB, free: 140 kB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1361, allocations: 0 / 0.6365 GB, free: 140 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002233/0.1363, allocations: 24 kB / 0.6365 GB, free: 116 kB / 478.1 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 () * 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.0002184/0.1365, allocations: 135.3 kB / 0.6366 GB, free: 15.97 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001075/0.1366, allocations: 32.45 kB / 0.6367 GB, free: 15.94 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.1367, allocations: 4 kB / 0.6367 GB, free: 15.93 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.509e-05/0.1367, allocations: 28.06 kB / 0.6367 GB, free: 15.91 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000142/0.1368, allocations: 9.406 kB / 0.6367 GB, free: 15.9 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002808/0.1371, allocations: 167.3 kB / 0.6369 GB, free: 15.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002342/0.1374, allocations: 0.6807 MB / 0.6375 GB, free: 15 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.386e-05/0.1374, allocations: 15.44 kB / 0.6375 GB, free: 14.98 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1374, allocations: 0 / 0.6375 GB, free: 14.98 MB / 494.1 MB Notification: Performance of Templates: time 0.0022/0.1396, allocations: 0.9202 MB / 0.6384 GB, free: 14.06 MB / 494.1 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)