Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.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.001651/0.001651, allocations: 78.73 kB / 19.01 MB, free: 2.859 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.001639/0.001639, allocations: 160.3 kB / 22.26 MB, free: 5.105 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.463/1.463, allocations: 177.2 MB / 202.6 MB, free: 9.27 MB / 190.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.9918/0.9918, allocations: 110.3 MB / 369.3 MB, free: 1.25 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker") [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.002127/0.002127, allocations: 70.23 kB / 0.5475 GB, free: 10.04 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1824/0.1846, allocations: 87.87 MB / 0.6333 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.003196/0.1878, allocations: 1.547 MB / 0.6348 GB, free: 472 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001359/0.1891, allocations: 0.6008 MB / 0.6354 GB, free: 15.86 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.88e-05/0.1892, allocations: 0 / 0.6354 GB, free: 15.86 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001124/0.1893, allocations: 7.875 kB / 0.6354 GB, free: 15.85 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.814e-05/0.1894, allocations: 35.72 kB / 0.6355 GB, free: 15.81 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005174/0.1899, allocations: 107.7 kB / 0.6356 GB, free: 15.71 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001846/0.1901, allocations: 91.77 kB / 0.6357 GB, free: 15.62 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.1902, allocations: 8.234 kB / 0.6357 GB, free: 15.61 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002318/0.1904, allocations: 75.73 kB / 0.6357 GB, free: 15.53 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.1905, allocations: 47.77 kB / 0.6358 GB, free: 15.48 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.313e-05/0.1906, allocations: 4 kB / 0.6358 GB, free: 15.48 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001794/0.1907, allocations: 99.83 kB / 0.6359 GB, free: 15.38 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.507e-05/0.1908, allocations: 19.92 kB / 0.6359 GB, free: 15.36 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.014e-05/0.1909, allocations: 35.8 kB / 0.6359 GB, free: 15.33 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002636/0.1911, allocations: 155.4 kB / 0.6361 GB, free: 15.18 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1911, allocations: 0 / 0.6361 GB, free: 15.18 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.673e-06/0.1911, allocations: 3.938 kB / 0.6361 GB, free: 15.17 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.1911, allocations: 0 / 0.6361 GB, free: 15.17 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009341/0.1921, allocations: 387.4 kB / 0.6365 GB, free: 14.76 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.1921, allocations: 8.031 kB / 0.6365 GB, free: 14.75 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003244/0.1924, allocations: 36.86 kB / 0.6365 GB, free: 14.71 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003045/0.1927, allocations: 138.4 kB / 0.6366 GB, free: 14.55 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.1927, allocations: 8.375 kB / 0.6367 GB, free: 14.55 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.427e-05/0.1928, allocations: 4.375 kB / 0.6367 GB, free: 14.54 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003545/0.1931, allocations: 105.9 kB / 0.6368 GB, free: 14.43 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.1931, allocations: 0 / 0.6368 GB, free: 14.43 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.953e-05/0.1932, allocations: 8 kB / 0.6368 GB, free: 14.43 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.968e-05/0.1932, allocations: 0 / 0.6368 GB, free: 14.43 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003572/0.1935, allocations: 87.92 kB / 0.6368 GB, free: 14.34 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006682/0.1942, allocations: 284.4 kB / 0.6371 GB, free: 14.03 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003369/0.1945, allocations: 86.45 kB / 0.6372 GB, free: 13.94 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001977/0.1947, allocations: 60.88 kB / 0.6373 GB, free: 13.88 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.1947, allocations: 0 / 0.6373 GB, free: 13.88 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003108/0.1951, allocations: 115.3 kB / 0.6374 GB, free: 13.75 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.522e-06/0.1951, allocations: 0 / 0.6374 GB, free: 13.75 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0007418/0.1958, allocations: 205.5 kB / 0.6376 GB, free: 13.54 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.1958, allocations: 55.69 kB / 0.6376 GB, free: 13.48 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001698/0.196, allocations: 143.7 kB / 0.6378 GB, free: 13.33 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.585e-05/0.196, allocations: 29.7 kB / 0.6378 GB, free: 13.29 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.615e-05/0.1961, allocations: 104 kB / 0.6379 GB, free: 13.19 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.547e-05/0.1962, allocations: 31.86 kB / 0.6379 GB, free: 13.16 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.41e-05/0.1962, allocations: 29.7 kB / 0.6379 GB, free: 13.12 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001701/0.1964, allocations: 326.8 kB / 0.6383 GB, free: 12.79 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002306/0.1967, allocations: 81.66 kB / 0.6383 GB, free: 12.71 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002228/0.1969, allocations: 93.64 kB / 0.6384 GB, free: 12.61 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003933/0.1973, allocations: 142.5 kB / 0.6386 GB, free: 12.46 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.1973, allocations: 0 / 0.6386 GB, free: 12.46 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005412/0.1978, allocations: 225 kB / 0.6388 GB, free: 12.22 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4e-05/0.1978, allocations: 37.69 kB / 0.6388 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.1979, allocations: 0 / 0.6388 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.1979, allocations: 0 / 0.6388 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001567/0.198, allocations: 23.92 kB / 0.6388 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.198, allocations: 4 kB / 0.6388 GB, free: 12.15 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001483/0.1982, allocations: 23.86 kB / 0.6389 GB, free: 12.13 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.818e-05/0.1982, allocations: 7.938 kB / 0.6389 GB, free: 12.12 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: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 1 * Algorithm blocks: 1 * 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 0.0001135/0.1983, allocations: 121.8 kB / 0.639 GB, free: 11.99 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.129e-05/0.1983, allocations: 11.95 kB / 0.639 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.787e-05/0.1984, allocations: 16.77 kB / 0.639 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-05/0.1984, allocations: 4 kB / 0.639 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1984, allocations: 0 / 0.639 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.1984, allocations: 0 / 0.639 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001581/0.1986, allocations: 141.2 kB / 0.6391 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1986, allocations: 3.938 kB / 0.6391 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/0.1987, allocations: 19.97 kB / 0.6392 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1987, allocations: 0 / 0.6392 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.1987, allocations: 7.984 kB / 0.6392 GB, free: 11.76 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1987, allocations: 0 / 0.6392 GB, free: 11.76 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.528e-06/0.1987, allocations: 3.938 kB / 0.6392 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004838/0.1992, allocations: 188.9 kB / 0.6394 GB, free: 11.55 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.051e-05/0.1992, allocations: 8.125 kB / 0.6394 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.464e-05/0.1992, allocations: 4 kB / 0.6394 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.1994, allocations: 15.92 kB / 0.6394 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.17e-05/0.1994, allocations: 19.97 kB / 0.6394 GB, free: 11.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.1995, allocations: 4 kB / 0.6394 GB, free: 11.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.373e-05/0.1995, allocations: 107.8 kB / 0.6395 GB, free: 11.39 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1995, allocations: 0 / 0.6395 GB, free: 11.39 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002612/0.1998, allocations: 47.86 kB / 0.6396 GB, free: 11.35 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: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001909/0.2, allocations: 118.3 kB / 0.6397 GB, free: 11.23 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005611/0.2006, allocations: 209 kB / 0.6399 GB, free: 11 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2006, allocations: 0 / 0.6399 GB, free: 11 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002249/0.2008, allocations: 63.89 kB / 0.6399 GB, free: 10.94 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002319/0.201, allocations: 7.984 kB / 0.6399 GB, free: 10.93 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006154/0.2016, allocations: 232.2 kB / 0.6402 GB, free: 10.68 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001042/0.2017, allocations: 93.38 kB / 0.6402 GB, free: 10.57 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.118e-05/0.2018, allocations: 11.98 kB / 0.6403 GB, free: 10.56 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.466e-05/0.2019, allocations: 16.48 kB / 0.6403 GB, free: 10.54 MB / 0.545 GB Notification: Performance of SimCode: time 3.2e-07/0.2019, allocations: 0 / 0.6403 GB, free: 10.54 MB / 0.545 GB Notification: Performance of Templates: time 0.004925/0.2068, allocations: 1.481 MB / 0.6417 GB, free: 9.09 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.67829311452806] Failed to read output from testmodel.py, exit status != 0: 0.21588186360895634 0.23152016900000003 0.037090468 Calling exit ...