Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.024/2.024, allocations: 391.2 MB / 407 MB, free: 10.81 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.001206/0.001206, allocations: 192.8 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.345/1.345, allocations: 222.9 MB / 0.7948 GB, free: 15.86 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.001014/0.001014, allocations: 117.7 kB / 0.9329 GB, free: 7.074 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001199, allocations: 53.33 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.2198, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001597/0.2214, allocations: 0.6385 MB / 1.219 GB, free: 116.6 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001006/0.2224, allocations: 1.1 MB / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.122e-05/0.2225, allocations: 0 / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 1.869e-05/0.2225, allocations: 0 / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.000196/0.2227, allocations: 19.92 kB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 2.815e-06/0.2227, allocations: 4 kB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 3.134e-05/0.2227, allocations: 3.938 kB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 3.95e-05/0.2228, allocations: 11.98 kB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 1.415e-05/0.2228, allocations: 4 kB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 2.326e-05/0.2228, allocations: 0 / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 6.563e-06/0.2228, allocations: 0 / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001206/0.223, allocations: 19.92 kB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 9.187e-06/0.223, allocations: 3.984 kB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 1.81e-05/0.223, allocations: 7.938 kB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 8.801e-05/0.2231, allocations: 11.98 kB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.2231, allocations: 0 / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of FrontEnd: time 8.72e-07/0.2231, allocations: 0 / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of Transformations before backend: time 3.938e-06/0.2231, allocations: 0 / 1.22 GB, free: 115.4 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002763/0.2234, allocations: 323.6 kB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.2234, allocations: 11.98 kB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.067e-05/0.2235, allocations: 4.938 kB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.947e-05/0.2235, allocations: 160.4 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.664e-06/0.2236, allocations: 4.312 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.81e-05/0.2236, allocations: 384 / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001036/0.2237, allocations: 45.94 kB / 1.22 GB, free: 114.7 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.2237, allocations: 0 / 1.22 GB, free: 114.7 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.2237, allocations: 4 kB / 1.22 GB, free: 114.7 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-06/0.2237, allocations: 4 kB / 1.22 GB, free: 114.7 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.829e-05/0.2238, allocations: 4 kB / 1.22 GB, free: 114.7 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001196/0.2239, allocations: 153.6 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001831/0.2241, allocations: 31.41 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.226e-05/0.2241, allocations: 20.8 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001234/0.2243, allocations: 81.2 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.687e-05/0.2243, allocations: 46.42 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.2243, allocations: 0 / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=5): time 0.003764/0.2281, allocations: 0.5696 MB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/0.2281, allocations: 55.41 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.498e-05/0.2281, allocations: 89.86 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.2281, allocations: 25.7 kB / 1.221 GB, free: 113.5 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 1.057e-05/0.2282, allocations: 84.12 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.188e-05/0.2282, allocations: 15.75 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.425e-05/0.2282, allocations: 21.7 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 3.781e-05/0.2283, allocations: 318.8 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005423/0.2288, allocations: 75.95 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005387/0.2294, allocations: 106.5 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/0.2304, allocations: 194.4 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.2305, allocations: 0 / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001151/0.2316, allocations: 213.5 kB / 1.222 GB, free: 112.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.2316, allocations: 4 kB / 1.222 GB, free: 112.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.2316, allocations: 4 kB / 1.222 GB, free: 112.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.2317, allocations: 0 / 1.222 GB, free: 112.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003575/0.232, allocations: 48 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.232, allocations: 4 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003184/0.2324, allocations: 39.97 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.2324, allocations: 11.98 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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 5.349e-05/0.2324, allocations: 114.4 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.542e-05/0.2325, allocations: 11.84 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001225/0.2337, allocations: 229.1 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.2337, allocations: 0 / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2337, allocations: 0 / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.2337, allocations: 4 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001294/0.235, allocations: 458.4 kB / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.235, allocations: 0 / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003541/0.2354, allocations: 51.97 kB / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.2354, allocations: 4.25 kB / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.2354, allocations: 3.984 kB / 1.223 GB, free: 111.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.2354, allocations: 4 kB / 1.223 GB, free: 111.4 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2354, allocations: 4 kB / 1.223 GB, free: 111.4 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001771/0.2372, allocations: 0.9192 MB / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.57e-05/0.2372, allocations: 85.05 kB / 1.224 GB, free: 110.4 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.2372, allocations: 8 kB / 1.224 GB, free: 110.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000339/0.2376, allocations: 43.91 kB / 1.224 GB, free: 110.3 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.59e-05/0.2376, allocations: 4 kB / 1.224 GB, free: 110.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.2376, allocations: 0 / 1.224 GB, free: 110.3 MB / 0.823 GB Notification: Performance of sorting global known variables: time 1.145e-05/0.2376, allocations: 75.28 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of sort global known variables: time 9e-08/0.2377, allocations: 4 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003119/0.238, allocations: 11.98 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0001313/0.2381, allocations: 111.2 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001161/0.2393, allocations: 180 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.2393, allocations: 0 / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005464/0.2398, allocations: 91.94 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001935/0.24, allocations: 4 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.2411, allocations: 329.5 kB / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.512e-05/0.2412, allocations: 0.6731 MB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0002017/0.2414, allocations: 28 kB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.969e-05/0.2415, allocations: 15.42 kB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of SimCode: time 2.2e-07/0.2415, allocations: 0 / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of Templates: time 0.002295/0.2438, allocations: 0.8071 MB / 1.227 GB, free: 107.9 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)