Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.034/2.034, allocations: 391.2 MB / 407 MB, free: 10.83 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 192.3 kB / 499.1 MB, free: 4.625 MB / 394.7 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 / 0.7948 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009784/0.0009783, allocations: 107.7 kB / 0.9329 GB, free: 7.086 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000935/0.0009351, allocations: 56 kB / 1.081 GB, free: 218 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2251/0.226, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001584/0.2277, allocations: 0.667 MB / 1.219 GB, free: 116.6 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0003737/0.2281, allocations: 159.5 kB / 1.219 GB, free: 116.4 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.441e-05/0.2281, allocations: 0 / 1.219 GB, free: 116.4 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 1.89e-05/0.2281, allocations: 0 / 1.219 GB, free: 116.4 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 1.958e-05/0.2281, allocations: 0 / 1.219 GB, free: 116.4 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002422/0.2284, allocations: 47.83 kB / 1.219 GB, free: 116.4 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 3.778e-05/0.2284, allocations: 12 kB / 1.219 GB, free: 116.4 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 3.689e-05/0.2285, allocations: 0 / 1.219 GB, free: 116.4 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 1.633e-05/0.2285, allocations: 7.984 kB / 1.219 GB, free: 116.4 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 5.705e-05/0.2286, allocations: 11.94 kB / 1.219 GB, free: 116.3 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.075e-05/0.2286, allocations: 0 / 1.219 GB, free: 116.3 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 6.487e-05/0.2286, allocations: 35.95 kB / 1.219 GB, free: 116.3 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.361e-05/0.2287, allocations: 3.984 kB / 1.219 GB, free: 116.3 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 1.812e-05/0.2287, allocations: 11.94 kB / 1.219 GB, free: 116.3 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 7.844e-05/0.2288, allocations: 23.95 kB / 1.219 GB, free: 116.3 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2288, allocations: 4 kB / 1.219 GB, free: 116.3 MB / 0.823 GB Notification: Performance of FrontEnd: time 8.51e-07/0.2288, allocations: 0 / 1.219 GB, free: 116.3 MB / 0.823 GB Notification: Performance of Transformations before backend: time 3.486e-06/0.2288, allocations: 0 / 1.219 GB, free: 116.3 MB / 0.823 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.0002843/0.2291, allocations: 331.6 kB / 1.219 GB, free: 115.9 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.2291, allocations: 15.97 kB / 1.219 GB, free: 115.9 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.121e-05/0.2292, allocations: 4.844 kB / 1.219 GB, free: 115.9 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.931e-05/0.2292, allocations: 168.3 kB / 1.22 GB, free: 115.7 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.2292, allocations: 384 / 1.22 GB, free: 115.7 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.969e-05/0.2293, allocations: 384 / 1.22 GB, free: 115.7 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.873e-05/0.2294, allocations: 54.19 kB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.595e-06/0.2294, allocations: 192 / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.2294, allocations: 7.938 kB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.326e-06/0.2294, allocations: 0 / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.697e-05/0.2294, allocations: 11.98 kB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001097/0.2296, allocations: 163.8 kB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.5e-05/0.2296, allocations: 54.48 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.912e-05/0.2297, allocations: 20.98 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.534e-05/0.2298, allocations: 81.09 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.774e-05/0.2298, allocations: 34.56 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of pre-optimization done (n=5): time 9.61e-07/0.2298, allocations: 0 / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=7): time 0.001043/0.2308, allocations: 488 kB / 1.22 GB, free: 114.6 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.378e-05/0.2309, allocations: 51.41 kB / 1.22 GB, free: 114.5 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.184e-05/0.2309, allocations: 97.84 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 8.556e-06/0.2309, allocations: 25.7 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 1.302e-05/0.231, allocations: 84.14 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.308e-05/0.231, allocations: 15.72 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-05/0.231, allocations: 29.7 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 4.392e-05/0.2311, allocations: 310.8 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.448e-05/0.2311, allocations: 15.94 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.094e-05/0.2311, allocations: 15.98 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.049e-05/0.2312, allocations: 32.98 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.22e-07/0.2312, allocations: 0 / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.257e-05/0.2313, allocations: 70.03 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.2313, allocations: 11.94 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.2313, allocations: 3.984 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.2313, allocations: 0 / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.947e-05/0.2314, allocations: 19.94 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.2314, allocations: 3.938 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.979e-05/0.2314, allocations: 0 / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.2314, allocations: 4 kB / 1.221 GB, free: 113.8 MB / 0.823 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 () * 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 4.729e-05/0.2315, allocations: 118.4 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.067e-05/0.2315, allocations: 7.938 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001542/0.2317, allocations: 89.91 kB / 1.221 GB, free: 113.5 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.2317, allocations: 0 / 1.221 GB, free: 113.5 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.2317, allocations: 4 kB / 1.221 GB, free: 113.5 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.2317, allocations: 0 / 1.221 GB, free: 113.5 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.821e-05/0.2318, allocations: 165.5 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2318, allocations: 0 / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.137e-05/0.2318, allocations: 23.98 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.2319, allocations: 3.938 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.2319, allocations: 0 / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.2319, allocations: 0 / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2319, allocations: 0 / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001995/0.2339, allocations: 1.347 MB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.636e-05/0.2339, allocations: 81.14 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.384e-06/0.2339, allocations: 0 / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.952e-05/0.234, allocations: 8.094 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.955e-05/0.234, allocations: 4 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.7e-06/0.234, allocations: 3.984 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of sorting global known variables: time 1.654e-05/0.234, allocations: 79.28 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of sort global known variables: time 9e-08/0.234, allocations: 3.938 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002604/0.2343, allocations: 32 kB / 1.223 GB, free: 111.6 MB / 0.823 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 () * 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.0001915/0.2345, allocations: 135.1 kB / 1.223 GB, free: 111.4 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 9.202e-05/0.2346, allocations: 40.08 kB / 1.223 GB, free: 111.4 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2346, allocations: 0 / 1.223 GB, free: 111.4 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 2.752e-05/0.2346, allocations: 27.86 kB / 1.223 GB, free: 111.4 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001223/0.2348, allocations: 8 kB / 1.223 GB, free: 111.4 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002712/0.235, allocations: 262.2 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.386e-05/0.2351, allocations: 0.6848 MB / 1.224 GB, free: 110.4 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 3.232e-05/0.2352, allocations: 12.45 kB / 1.224 GB, free: 110.3 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.634e-05/0.2352, allocations: 11.44 kB / 1.224 GB, free: 110.3 MB / 0.823 GB Notification: Performance of SimCode: time 2.11e-07/0.2352, allocations: 0 / 1.224 GB, free: 110.3 MB / 0.823 GB Notification: Performance of Templates: time 0.00235/0.2375, allocations: 0.8926 MB / 1.225 GB, free: 109.4 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)