Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 212.7 kB / 22.24 MB, free: 5.258 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.485/1.485, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.9252/0.9252, allocations: 145 MB / 457.4 MB, free: 15.3 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower") [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002302/0.002302, allocations: 71.05 kB / 0.6336 GB, free: 6.172 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1855/0.1878, allocations: 87.89 MB / 0.7194 GB, free: 14.3 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001822/0.1896, allocations: 0.5807 MB / 0.72 GB, free: 13.72 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0007572/0.1904, allocations: 294.9 kB / 0.7203 GB, free: 13.43 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.658e-05/0.1904, allocations: 0 / 0.7203 GB, free: 13.43 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.617e-05/0.1904, allocations: 4 kB / 0.7203 GB, free: 13.43 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.453e-06/0.1904, allocations: 4 kB / 0.7203 GB, free: 13.43 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005125/0.191, allocations: 103.7 kB / 0.7204 GB, free: 13.32 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.802e-05/0.191, allocations: 4 kB / 0.7204 GB, free: 13.32 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.314e-05/0.191, allocations: 0 / 0.7204 GB, free: 13.32 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.31e-05/0.1911, allocations: 0 / 0.7204 GB, free: 13.32 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.014e-05/0.1911, allocations: 0 / 0.7204 GB, free: 13.32 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.047e-06/0.1911, allocations: 0 / 0.7204 GB, free: 13.32 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004285/0.1915, allocations: 263.6 kB / 0.7206 GB, free: 13.06 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.239e-05/0.1915, allocations: 4 kB / 0.7206 GB, free: 13.06 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.456e-05/0.1915, allocations: 3.938 kB / 0.7207 GB, free: 13.05 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001895/0.1917, allocations: 95.72 kB / 0.7207 GB, free: 12.96 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1917, allocations: 0 / 0.7207 GB, free: 12.96 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1917, allocations: 0 / 0.7207 GB, free: 12.96 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.1917, allocations: 0 / 0.7207 GB, free: 12.96 MB / 0.545 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.0003632/0.1921, allocations: 258.2 kB / 0.721 GB, free: 12.68 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.1922, allocations: 12.03 kB / 0.721 GB, free: 12.66 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.97e-05/0.1922, allocations: 0.9375 kB / 0.721 GB, free: 12.66 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.8e-05/0.1923, allocations: 106.5 kB / 0.7211 GB, free: 12.54 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.624e-06/0.1923, allocations: 384 / 0.7211 GB, free: 12.54 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.1923, allocations: 4.375 kB / 0.7211 GB, free: 12.53 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.1924, allocations: 30.27 kB / 0.7211 GB, free: 12.5 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.1924, allocations: 192 / 0.7211 GB, free: 12.5 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.1925, allocations: 3.938 kB / 0.7211 GB, free: 12.49 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.1925, allocations: 0 / 0.7211 GB, free: 12.49 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.075e-05/0.1925, allocations: 0 / 0.7211 GB, free: 12.49 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001414/0.1926, allocations: 105.2 kB / 0.7212 GB, free: 12.36 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.968e-05/0.1927, allocations: 18.58 kB / 0.7213 GB, free: 12.33 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.861e-05/0.1927, allocations: 8.953 kB / 0.7213 GB, free: 12.32 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003792/0.1931, allocations: 43.97 kB / 0.7213 GB, free: 12.28 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.1931, allocations: 38.55 kB / 0.7213 GB, free: 12.23 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.222e-06/0.1931, allocations: 0 / 0.7213 GB, free: 12.23 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.000167/0.1933, allocations: 37.58 kB / 0.7214 GB, free: 12.19 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/0.1933, allocations: 51.41 kB / 0.7214 GB, free: 12.12 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.633e-05/0.1934, allocations: 93.8 kB / 0.7215 GB, free: 12.02 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.1934, allocations: 29.7 kB / 0.7215 GB, free: 11.99 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.78e-05/0.1934, allocations: 84.27 kB / 0.7216 GB, free: 11.9 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.518e-05/0.1935, allocations: 7.938 kB / 0.7216 GB, free: 11.89 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.784e-05/0.1935, allocations: 9.719 kB / 0.7216 GB, free: 11.88 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.1937, allocations: 314.8 kB / 0.7219 GB, free: 11.56 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.119e-05/0.1937, allocations: 0 / 0.7219 GB, free: 11.56 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.706e-06/0.1937, allocations: 3.984 kB / 0.722 GB, free: 11.56 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.959e-05/0.1937, allocations: 8.859 kB / 0.722 GB, free: 11.55 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1937, allocations: 0 / 0.722 GB, free: 11.55 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.429e-05/0.1938, allocations: 37.64 kB / 0.722 GB, free: 11.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.1938, allocations: 14.28 kB / 0.722 GB, free: 11.49 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.1938, allocations: 0 / 0.722 GB, free: 11.49 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.1939, allocations: 0 / 0.722 GB, free: 11.49 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.889e-05/0.1939, allocations: 3.938 kB / 0.722 GB, free: 11.49 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.1939, allocations: 4 kB / 0.722 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.738e-06/0.1939, allocations: 0 / 0.722 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.1939, allocations: 0 / 0.722 GB, free: 11.48 MB / 0.545 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 9.219e-05/0.194, allocations: 115.3 kB / 0.7221 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.17e-05/0.194, allocations: 0 / 0.7221 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001139/0.1942, allocations: 40.7 kB / 0.7222 GB, free: 11.31 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.1942, allocations: 3.938 kB / 0.7222 GB, free: 11.31 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.1942, allocations: 0 / 0.7222 GB, free: 11.31 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1942, allocations: 3.938 kB / 0.7222 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.868e-05/0.1943, allocations: 101.3 kB / 0.7223 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1943, allocations: 4 kB / 0.7223 GB, free: 11.17 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.447e-05/0.1943, allocations: 0 / 0.7223 GB, free: 11.17 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.1943, allocations: 4 kB / 0.7223 GB, free: 11.17 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.1943, allocations: 0 / 0.7223 GB, free: 11.17 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1943, allocations: 0 / 0.7223 GB, free: 11.17 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.1943, allocations: 3.938 kB / 0.7223 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001076/0.1944, allocations: 65.14 kB / 0.7223 GB, free: 11.08 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.13e-05/0.1944, allocations: 8 kB / 0.7223 GB, free: 11.07 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.318e-05/0.1944, allocations: 0 / 0.7223 GB, free: 11.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.744e-06/0.1944, allocations: 0 / 0.7223 GB, free: 11.07 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.151e-05/0.1945, allocations: 3.938 kB / 0.7224 GB, free: 11.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-06/0.1945, allocations: 0 / 0.7224 GB, free: 11.07 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.529e-05/0.1945, allocations: 75.28 kB / 0.7224 GB, free: 11 MB / 0.545 GB Notification: Performance of sort global known variables: time 5e-08/0.1945, allocations: 0 / 0.7224 GB, free: 11 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000212/0.1947, allocations: 19.88 kB / 0.7224 GB, free: 10.98 MB / 0.545 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.0002099/0.1949, allocations: 115.2 kB / 0.7226 GB, free: 10.85 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.481e-05/0.195, allocations: 4 kB / 0.7226 GB, free: 10.85 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.195, allocations: 3.938 kB / 0.7226 GB, free: 10.84 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.951e-06/0.195, allocations: 0 / 0.7226 GB, free: 10.84 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001371/0.1952, allocations: 0 / 0.7226 GB, free: 10.84 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002439/0.1954, allocations: 88.86 kB / 0.7226 GB, free: 10.73 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.276e-05/0.1955, allocations: 55.36 kB / 0.7227 GB, free: 10.66 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.576e-05/0.1955, allocations: 0 / 0.7227 GB, free: 10.66 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.03e-05/0.1955, allocations: 11.56 kB / 0.7227 GB, free: 10.64 MB / 0.545 GB Notification: Performance of SimCode: time 2.81e-07/0.1955, allocations: 0 / 0.7227 GB, free: 10.64 MB / 0.545 GB Notification: Performance of Templates: time 0.002984/0.1985, allocations: 459.5 kB / 0.7231 GB, free: 10.2 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.571392253041267] Failed to read output from testmodel.py, exit status != 0: 0.20744193904101849 0.22294236 0.028208369 Calling exit ...