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.001586/0.001586, allocations: 105.4 kB / 16.41 MB, free: 6.422 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.001742/0.001742, allocations: 195.8 kB / 17.34 MB, free: 5.73 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.292/1.292, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7052/0.7052, allocations: 115.3 MB / 406.5 MB, free: 6.211 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 67.92 kB / 0.5577 GB, free: 32.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1375, allocations: 76.18 MB / 0.6321 GB, free: 4.363 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001606/0.1391, allocations: 0.5937 MB / 0.6327 GB, free: 3.777 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.000445/0.1396, allocations: 163.8 kB / 0.6329 GB, free: 3.617 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.941e-05/0.1396, allocations: 0 / 0.6329 GB, free: 3.617 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.471e-05/0.1397, allocations: 0 / 0.6329 GB, free: 3.617 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 3.033e-05/0.1397, allocations: 3.938 kB / 0.6329 GB, free: 3.613 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000298/0.14, allocations: 39.89 kB / 0.6329 GB, free: 3.574 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 4.634e-05/0.1401, allocations: 15.98 kB / 0.6329 GB, free: 3.559 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.755e-05/0.1401, allocations: 4 kB / 0.6329 GB, free: 3.555 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.749e-05/0.1401, allocations: 3.984 kB / 0.6329 GB, free: 3.551 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.098e-05/0.1402, allocations: 11.94 kB / 0.6329 GB, free: 3.539 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.09e-05/0.1402, allocations: 0 / 0.6329 GB, free: 3.539 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.004e-05/0.1403, allocations: 35.95 kB / 0.633 GB, free: 3.504 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.507e-05/0.1403, allocations: 7.984 kB / 0.633 GB, free: 3.496 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.213e-05/0.1403, allocations: 11.88 kB / 0.633 GB, free: 3.484 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 8.925e-05/0.1404, allocations: 31.95 kB / 0.633 GB, free: 3.453 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1404, allocations: 0 / 0.633 GB, free: 3.453 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1404, allocations: 4 kB / 0.633 GB, free: 3.449 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.1405, allocations: 0 / 0.633 GB, free: 3.449 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.0003524/0.1408, allocations: 323.6 kB / 0.6333 GB, free: 3.082 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.1409, allocations: 16.02 kB / 0.6333 GB, free: 3.066 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.042e-05/0.1409, allocations: 0.9375 kB / 0.6333 GB, free: 3.066 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.141, allocations: 172.2 kB / 0.6335 GB, free: 2.859 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.141, allocations: 8.312 kB / 0.6335 GB, free: 2.852 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.115e-05/0.141, allocations: 384 / 0.6335 GB, free: 2.852 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/0.1412, allocations: 50.25 kB / 0.6336 GB, free: 2.797 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.1412, allocations: 192 / 0.6336 GB, free: 2.797 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.1412, allocations: 3.938 kB / 0.6336 GB, free: 2.793 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-06/0.1412, allocations: 4 kB / 0.6336 GB, free: 2.789 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.062e-05/0.1412, allocations: 11.98 kB / 0.6336 GB, free: 2.777 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001611/0.1414, allocations: 157.7 kB / 0.6337 GB, free: 2.574 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.777e-05/0.1415, allocations: 46.5 kB / 0.6338 GB, free: 2.52 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.097e-05/0.1415, allocations: 16.98 kB / 0.6338 GB, free: 2.5 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.851e-05/0.1417, allocations: 89.09 kB / 0.6339 GB, free: 2.395 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.1417, allocations: 30.56 kB / 0.6339 GB, free: 2.355 MB / 478.1 MB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.1417, allocations: 0 / 0.6339 GB, free: 2.355 MB / 478.1 MB Notification: Performance of matching and sorting (n=7): time 0.001127/0.1428, allocations: 492.1 kB / 0.6344 GB, free: 1.801 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/0.1429, allocations: 55.34 kB / 0.6344 GB, free: 1.734 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.492e-05/0.1429, allocations: 97.84 kB / 0.6345 GB, free: 1.629 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.143, allocations: 29.83 kB / 0.6346 GB, free: 1.594 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.349e-05/0.143, allocations: 84.14 kB / 0.6346 GB, free: 1.508 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.755e-05/0.143, allocations: 19.66 kB / 0.6347 GB, free: 1.488 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.595e-05/0.1431, allocations: 25.7 kB / 0.6347 GB, free: 1.457 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.936e-05/0.1432, allocations: 314.8 kB / 0.635 GB, free: 1.141 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.455e-05/0.1432, allocations: 8 kB / 0.635 GB, free: 1.133 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.493e-05/0.1432, allocations: 15.98 kB / 0.635 GB, free: 1.117 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.92e-05/0.1433, allocations: 32.86 kB / 0.635 GB, free: 1.082 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.62e-07/0.1433, allocations: 7.938 kB / 0.635 GB, free: 1.074 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001133/0.1434, allocations: 73.58 kB / 0.6351 GB, free: 0.9961 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.1434, allocations: 13.28 kB / 0.6351 GB, free: 0.9844 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1434, allocations: 0 / 0.6351 GB, free: 0.9844 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.1435, allocations: 7.984 kB / 0.6351 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.302e-05/0.1435, allocations: 8 kB / 0.6351 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.1436, allocations: 4 kB / 0.6351 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.161e-05/0.1436, allocations: 448 / 0.6351 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-06/0.1436, allocations: 0 / 0.6351 GB, free: 0.9648 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.235e-05/0.1437, allocations: 117.8 kB / 0.6353 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.147e-05/0.1437, allocations: 7.875 kB / 0.6353 GB, free: 0.832 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001647/0.1439, allocations: 93.86 kB / 0.6354 GB, free: 0.7266 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.1439, allocations: 7.984 kB / 0.6354 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1439, allocations: 0 / 0.6354 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1439, allocations: 0 / 0.6354 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001138/0.144, allocations: 157.7 kB / 0.6355 GB, free: 0.5156 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.144, allocations: 0 / 0.6355 GB, free: 0.5156 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.734e-05/0.1441, allocations: 19.98 kB / 0.6355 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.1441, allocations: 3.938 kB / 0.6355 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.096e-06/0.1441, allocations: 8 kB / 0.6355 GB, free: 496 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.1441, allocations: 0 / 0.6355 GB, free: 496 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1441, allocations: 0 / 0.6355 GB, free: 496 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001631/0.1443, allocations: 116.9 kB / 0.6357 GB, free: 360 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.355e-05/0.1444, allocations: 85.08 kB / 0.6357 GB, free: 256 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.1444, allocations: 4 kB / 0.6357 GB, free: 252 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.169e-05/0.1444, allocations: 0 / 0.6357 GB, free: 252 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.854e-05/0.1444, allocations: 12.05 kB / 0.6358 GB, free: 240 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.1445, allocations: 4 kB / 0.6358 GB, free: 236 kB / 478.1 MB Notification: Performance of sorting global known variables: time 2.774e-05/0.1445, allocations: 75.28 kB / 0.6358 GB, free: 160 kB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1445, allocations: 0 / 0.6358 GB, free: 160 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002115/0.1447, allocations: 28 kB / 0.6359 GB, free: 132 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.0002026/0.1449, allocations: 127.2 kB / 0.636 GB, free: 16 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001106/0.145, allocations: 39.91 kB / 0.636 GB, free: 15.96 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.145, allocations: 96 / 0.636 GB, free: 15.96 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.229e-05/0.1451, allocations: 27.98 kB / 0.636 GB, free: 15.93 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000138/0.1452, allocations: 8 kB / 0.636 GB, free: 15.92 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002872/0.1455, allocations: 133.6 kB / 0.6362 GB, free: 15.77 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002237/0.1458, allocations: 0.6807 MB / 0.6368 GB, free: 15.06 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.352e-05/0.1458, allocations: 7.938 kB / 0.6368 GB, free: 15.05 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.17e-05/0.1458, allocations: 23.31 kB / 0.6369 GB, free: 15.03 MB / 494.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1458, allocations: 0 / 0.6369 GB, free: 15.03 MB / 494.1 MB Notification: Performance of Templates: time 0.002825/0.1487, allocations: 0.8816 MB / 0.6377 GB, free: 14.15 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)