Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004101/0.004101, allocations: 102.7 kB / 15.73 MB, free: 6.488 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.001002/0.001002, allocations: 195.2 kB / 16.68 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.228/1.228, allocations: 205.1 MB / 222.5 MB, free: 4.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.357/1.357, allocations: 251.7 MB / 0.5094 GB, free: 3.086 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 73.77 kB / 0.7258 GB, free: 8.984 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1874/0.1887, allocations: 104.7 MB / 0.8281 GB, free: 172 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.00141/0.1902, allocations: 0.567 MB / 0.8286 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0005342/0.1907, allocations: 327.1 kB / 0.829 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.621e-05/0.1907, allocations: 3.938 kB / 0.829 GB, free: 15.28 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.057e-05/0.1908, allocations: 4 kB / 0.829 GB, free: 15.28 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.35e-06/0.1908, allocations: 0 / 0.829 GB, free: 15.28 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003683/0.1911, allocations: 107.6 kB / 0.8291 GB, free: 15.17 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 3.79e-05/0.1912, allocations: 4 kB / 0.8291 GB, free: 15.17 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.801e-05/0.1912, allocations: 3.984 kB / 0.8291 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.233e-05/0.1912, allocations: 4 kB / 0.8291 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 1.761e-05/0.1913, allocations: 0 / 0.8291 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.604e-06/0.1913, allocations: 0 / 0.8291 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003408/0.1916, allocations: 275.7 kB / 0.8293 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.218e-06/0.1916, allocations: 3.984 kB / 0.8293 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 1.201e-05/0.1917, allocations: 0 / 0.8293 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001479/0.1918, allocations: 83.86 kB / 0.8294 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1918, allocations: 0 / 0.8294 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1918, allocations: 0 / 0.8294 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.1918, allocations: 0 / 0.8294 GB, free: 14.8 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002729/0.1921, allocations: 335.5 kB / 0.8297 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.1921, allocations: 12.03 kB / 0.8298 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.288e-05/0.1922, allocations: 4.875 kB / 0.8298 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.862e-05/0.1923, allocations: 164.4 kB / 0.8299 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.896e-06/0.1923, allocations: 384 / 0.8299 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.1923, allocations: 4.359 kB / 0.8299 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.568e-05/0.1924, allocations: 34.25 kB / 0.83 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.1924, allocations: 192 / 0.83 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.1924, allocations: 3.938 kB / 0.83 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.1924, allocations: 0 / 0.83 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.475e-05/0.1924, allocations: 0 / 0.83 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001235/0.1926, allocations: 157.5 kB / 0.8301 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 3.514e-05/0.1926, allocations: 22.52 kB / 0.8301 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.37e-05/0.1926, allocations: 8.953 kB / 0.8301 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004337/0.1931, allocations: 425.5 kB / 0.8305 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.1931, allocations: 38.56 kB / 0.8306 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.1931, allocations: 0 / 0.8306 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0001174/0.1932, allocations: 33.64 kB / 0.8306 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.708e-05/0.1933, allocations: 55.34 kB / 0.8307 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.75e-05/0.1933, allocations: 93.86 kB / 0.8308 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.1933, allocations: 25.7 kB / 0.8308 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.192e-05/0.1934, allocations: 80.14 kB / 0.8309 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.291e-05/0.1934, allocations: 4 kB / 0.8309 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.155e-05/0.1934, allocations: 9.844 kB / 0.8309 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.062e-05/0.1935, allocations: 322.8 kB / 0.8312 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.664e-06/0.1935, allocations: 0 / 0.8312 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.121e-06/0.1935, allocations: 4 kB / 0.8312 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.25e-05/0.1936, allocations: 4.859 kB / 0.8312 GB, free: 12.69 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/0.1936, allocations: 8 kB / 0.8312 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.409e-05/0.1936, allocations: 33.7 kB / 0.8312 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 9.919e-06/0.1936, allocations: 4 kB / 0.8312 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.1937, allocations: 4.094 kB / 0.8312 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.1937, allocations: 7.875 kB / 0.8312 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.02e-05/0.1937, allocations: 7.938 kB / 0.8312 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.1937, allocations: 3.984 kB / 0.8312 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.857e-06/0.1937, allocations: 0 / 0.8312 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.1937, allocations: 3.984 kB / 0.8313 GB, free: 12.61 MB / 0.6544 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 (1): * Single equations (assignments): 1 * 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.048e-05/0.1938, allocations: 109.8 kB / 0.8314 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.765e-05/0.1938, allocations: 0 / 0.8314 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.483e-05/0.1939, allocations: 44.77 kB / 0.8314 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.1939, allocations: 0 / 0.8314 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.1939, allocations: 3.984 kB / 0.8314 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.1939, allocations: 0 / 0.8314 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.59e-05/0.194, allocations: 145.7 kB / 0.8315 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.194, allocations: 0 / 0.8315 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.025e-05/0.194, allocations: 0 / 0.8315 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.194, allocations: 0 / 0.8315 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.194, allocations: 7.938 kB / 0.8316 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.1941, allocations: 3.938 kB / 0.8316 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1941, allocations: 32 / 0.8316 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.158e-05/0.1941, allocations: 61.12 kB / 0.8316 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.616e-05/0.1942, allocations: 81.11 kB / 0.8317 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.746e-06/0.1942, allocations: 3.938 kB / 0.8317 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.743e-06/0.1942, allocations: 0 / 0.8317 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.215e-06/0.1942, allocations: 0 / 0.8317 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-06/0.1942, allocations: 0 / 0.8317 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.983e-05/0.1942, allocations: 79.31 kB / 0.8318 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1942, allocations: 0 / 0.8318 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001945/0.1944, allocations: 19.98 kB / 0.8318 GB, free: 11.95 MB / 0.6544 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 (1): * Single equations (assignments): 1 * 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.0001396/0.1946, allocations: 107.2 kB / 0.8319 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 5.971e-05/0.1947, allocations: 7.938 kB / 0.8319 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.1947, allocations: 0 / 0.8319 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.654e-06/0.1947, allocations: 8 kB / 0.8319 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001238/0.1948, allocations: 3.984 kB / 0.8319 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001414/0.1949, allocations: 85.11 kB / 0.832 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002011/0.1952, allocations: 0.6805 MB / 0.8327 GB, free: 11 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 1.298e-05/0.1952, allocations: 0 / 0.8327 GB, free: 11 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.197e-05/0.1952, allocations: 7.438 kB / 0.8327 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of SimCode: time 2.31e-07/0.1952, allocations: 3.938 kB / 0.8327 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of Templates: time 0.00203/0.1972, allocations: 460.2 kB / 0.8331 GB, free: 10.54 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)