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.001202/0.001202, allocations: 118.3 kB / 17.09 MB, free: 6.016 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.001226/0.001226, allocations: 196.7 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.362/1.362, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.734/0.734, allocations: 115.3 MB / 407.2 MB, free: 6.109 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 65.92 kB / 0.5584 GB, free: 32.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1591, allocations: 76.18 MB / 0.6328 GB, free: 4.367 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001744/0.1609, allocations: 0.5936 MB / 0.6334 GB, free: 3.777 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004177/0.1614, allocations: 167.8 kB / 0.6335 GB, free: 3.613 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.804e-05/0.1614, allocations: 0 / 0.6335 GB, free: 3.613 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.516e-05/0.1614, allocations: 0 / 0.6335 GB, free: 3.613 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 2.78e-05/0.1615, allocations: 3.938 kB / 0.6335 GB, free: 3.609 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003582/0.1619, allocations: 39.89 kB / 0.6336 GB, free: 3.57 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 5.708e-05/0.1619, allocations: 11.98 kB / 0.6336 GB, free: 3.559 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.616e-05/0.162, allocations: 4 kB / 0.6336 GB, free: 3.555 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.365e-05/0.162, allocations: 7.984 kB / 0.6336 GB, free: 3.547 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.414e-05/0.1621, allocations: 11.92 kB / 0.6336 GB, free: 3.535 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.1621, allocations: 0 / 0.6336 GB, free: 3.535 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.901e-05/0.1622, allocations: 35.97 kB / 0.6336 GB, free: 3.5 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.49e-05/0.1622, allocations: 4 kB / 0.6336 GB, free: 3.496 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.522e-05/0.1623, allocations: 11.91 kB / 0.6336 GB, free: 3.484 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001153/0.1624, allocations: 31.97 kB / 0.6337 GB, free: 3.453 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.1624, allocations: 0 / 0.6337 GB, free: 3.453 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1624, allocations: 0 / 0.6337 GB, free: 3.453 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.1624, allocations: 0 / 0.6337 GB, free: 3.453 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.0004167/0.1628, allocations: 325.8 kB / 0.634 GB, free: 3.086 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.1629, allocations: 12.03 kB / 0.634 GB, free: 3.074 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.094e-05/0.1629, allocations: 0.9375 kB / 0.634 GB, free: 3.074 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.163, allocations: 184.1 kB / 0.6342 GB, free: 2.855 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.1631, allocations: 4.375 kB / 0.6342 GB, free: 2.852 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.428e-05/0.1631, allocations: 384 / 0.6342 GB, free: 2.852 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.1632, allocations: 42.25 kB / 0.6342 GB, free: 2.805 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.1632, allocations: 192 / 0.6342 GB, free: 2.805 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/0.1633, allocations: 7.938 kB / 0.6342 GB, free: 2.797 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.1633, allocations: 4 kB / 0.6342 GB, free: 2.793 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.799e-05/0.1633, allocations: 11.98 kB / 0.6342 GB, free: 2.781 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001741/0.1635, allocations: 161.7 kB / 0.6344 GB, free: 2.574 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.495e-05/0.1636, allocations: 50.48 kB / 0.6344 GB, free: 2.516 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.248e-05/0.1637, allocations: 16.98 kB / 0.6345 GB, free: 2.496 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001071/0.1638, allocations: 89.08 kB / 0.6345 GB, free: 2.391 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.1638, allocations: 30.56 kB / 0.6346 GB, free: 2.352 MB / 478.1 MB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.1638, allocations: 0 / 0.6346 GB, free: 2.352 MB / 478.1 MB Notification: Performance of matching and sorting (n=7): time 0.001294/0.1651, allocations: 496.3 kB / 0.635 GB, free: 1.793 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.1652, allocations: 55.41 kB / 0.6351 GB, free: 1.727 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.278e-05/0.1652, allocations: 93.8 kB / 0.6352 GB, free: 1.625 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.1653, allocations: 25.7 kB / 0.6352 GB, free: 1.594 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.385e-05/0.1653, allocations: 88.12 kB / 0.6353 GB, free: 1.504 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.208e-05/0.1653, allocations: 19.66 kB / 0.6353 GB, free: 1.484 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.901e-05/0.1654, allocations: 21.7 kB / 0.6353 GB, free: 1.457 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.1655, allocations: 323 kB / 0.6356 GB, free: 1.133 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.75e-05/0.1655, allocations: 8 kB / 0.6357 GB, free: 1.125 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.281e-05/0.1655, allocations: 11.98 kB / 0.6357 GB, free: 1.113 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.769e-05/0.1656, allocations: 40.84 kB / 0.6357 GB, free: 1.07 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1656, allocations: 0 / 0.6357 GB, free: 1.07 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001089/0.1657, allocations: 69.59 kB / 0.6358 GB, free: 0.9961 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.1658, allocations: 7.938 kB / 0.6358 GB, free: 0.9883 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.1658, allocations: 4 kB / 0.6358 GB, free: 0.9844 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.1658, allocations: 3.938 kB / 0.6358 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.82e-05/0.1659, allocations: 11.98 kB / 0.6358 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.1659, allocations: 8 kB / 0.6358 GB, free: 0.9609 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.207e-05/0.1659, allocations: 0 / 0.6358 GB, free: 0.9609 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.846e-06/0.1659, allocations: 0 / 0.6358 GB, free: 0.9609 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 8.092e-05/0.166, allocations: 117.8 kB / 0.6359 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.6e-05/0.166, allocations: 3.938 kB / 0.6359 GB, free: 0.832 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001658/0.1662, allocations: 89.56 kB / 0.636 GB, free: 0.7305 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.1662, allocations: 0 / 0.636 GB, free: 0.7305 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.1662, allocations: 0 / 0.636 GB, free: 0.7305 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1662, allocations: 4 kB / 0.636 GB, free: 0.7266 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/0.1664, allocations: 161.8 kB / 0.6362 GB, free: 0.5195 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.1664, allocations: 4 kB / 0.6362 GB, free: 0.5156 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.001e-05/0.1665, allocations: 19.98 kB / 0.6362 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.1665, allocations: 3.938 kB / 0.6362 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.1665, allocations: 4 kB / 0.6362 GB, free: 500 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.1665, allocations: 0 / 0.6362 GB, free: 500 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.083e-06/0.1665, allocations: 0 / 0.6362 GB, free: 500 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001777/0.1667, allocations: 117.3 kB / 0.6363 GB, free: 364 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.788e-05/0.1667, allocations: 85.08 kB / 0.6364 GB, free: 260 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.1668, allocations: 7.938 kB / 0.6364 GB, free: 252 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.196e-05/0.1668, allocations: 0 / 0.6364 GB, free: 252 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.057e-05/0.1668, allocations: 7.984 kB / 0.6364 GB, free: 244 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.1668, allocations: 4 kB / 0.6364 GB, free: 240 kB / 478.1 MB Notification: Performance of sorting global known variables: time 3.061e-05/0.1669, allocations: 75.28 kB / 0.6365 GB, free: 164 kB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1669, allocations: 0 / 0.6365 GB, free: 164 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002197/0.1671, allocations: 28 kB / 0.6365 GB, free: 136 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.0002482/0.1674, allocations: 131.4 kB / 0.6366 GB, free: 16 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001185/0.1675, allocations: 43.98 kB / 0.6367 GB, free: 15.95 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1675, allocations: 0 / 0.6367 GB, free: 15.95 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.299e-05/0.1675, allocations: 23.98 kB / 0.6367 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.0001524/0.1677, allocations: 10.03 kB / 0.6367 GB, free: 15.92 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003567/0.1681, allocations: 163.3 kB / 0.6369 GB, free: 15.73 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002344/0.1683, allocations: 0.6846 MB / 0.6375 GB, free: 15.02 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.748e-05/0.1683, allocations: 11.44 kB / 0.6375 GB, free: 15.01 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1683, allocations: 0 / 0.6375 GB, free: 15.01 MB / 494.1 MB Notification: Performance of Templates: time 0.002443/0.1708, allocations: 0.9285 MB / 0.6384 GB, free: 14.08 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)