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.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 107.1 kB / 16.37 MB, free: 6.363 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.001386/0.001386, allocations: 191.5 kB / 17.31 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.6.0/package.mo): time 0.8802/0.8802, allocations: 143 MB / 434.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.924e-05/2.946e-05, allocations: 2.281 kB / 0.5155 GB, free: 14.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.003053/0.003099, allocations: 1.546 MB / 0.517 GB, free: 12.98 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001203/0.004317, allocations: 0.5686 MB / 0.5176 GB, free: 12.41 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.193e-05/0.0044, allocations: 3.938 kB / 0.5176 GB, free: 12.41 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001141/0.00452, allocations: 15.92 kB / 0.5176 GB, free: 12.39 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.58e-05/0.004604, allocations: 19.8 kB / 0.5176 GB, free: 12.37 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004221/0.005033, allocations: 91.77 kB / 0.5177 GB, free: 12.28 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001658/0.00521, allocations: 103.6 kB / 0.5178 GB, free: 12.18 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003015/0.005518, allocations: 28.22 kB / 0.5178 GB, free: 12.15 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001233/0.005648, allocations: 47.77 kB / 0.5179 GB, free: 12.1 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.99e-05/0.005746, allocations: 47.83 kB / 0.5179 GB, free: 12.05 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.042e-05/0.005772, allocations: 4 kB / 0.5179 GB, free: 12.05 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001388/0.005916, allocations: 87.91 kB / 0.518 GB, free: 11.96 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.0001443/0.006067, allocations: 142.4 kB / 0.5181 GB, free: 11.82 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 3.89e-05/0.006114, allocations: 78.78 kB / 0.5182 GB, free: 11.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.336e-05/0.006153, allocations: 11.94 kB / 0.5182 GB, free: 11.73 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.924e-05/0.006177, allocations: 4 kB / 0.5182 GB, free: 11.73 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 (10) * Number of variables: 12 (8) Notification: Performance of Bindings: time 0.0006287/0.006811, allocations: 490.9 kB / 0.5187 GB, free: 11.15 MB / 446.1 MB Notification: Performance of FunctionAlias: time 0.0001242/0.006942, allocations: 60.97 kB / 0.5187 GB, free: 11.09 MB / 446.1 MB Notification: Performance of Early Inline: time 0.0002501/0.0072, allocations: 260.2 kB / 0.519 GB, free: 10.8 MB / 446.1 MB Notification: Performance of simplify1: time 3.575e-05/0.007243, allocations: 19.98 kB / 0.519 GB, free: 10.79 MB / 446.1 MB Notification: Performance of Alias: time 0.0001105/0.007359, allocations: 97.67 kB / 0.5191 GB, free: 10.65 MB / 446.1 MB Notification: Performance of simplify2: time 2.183e-05/0.007387, allocations: 23.94 kB / 0.5191 GB, free: 10.63 MB / 446.1 MB Notification: Performance of Events: time 0.000224/0.007617, allocations: 79.8 kB / 0.5192 GB, free: 10.55 MB / 446.1 MB Notification: Performance of Detect States: time 0.0001967/0.007822, allocations: 124 kB / 0.5193 GB, free: 10.41 MB / 446.1 MB Notification: Performance of Partitioning: time 0.0001358/0.007966, allocations: 96.09 kB / 0.5194 GB, free: 10.31 MB / 446.1 MB Error: Internal error NBSorting.tarjan failed to sort system: system vars Variables (18/26) ******************************* (1) [DISS] (1) protected Integer pulse.count (2) [ALGB] (1) Real expSine.y (3) [DISS] (1) protected Real pulse.T_start (4) [ALGB] (1) Real $FUN_5 (5) [ALGB] (1) Real $FUN_4 (6) [ALGB] (1) Real sine.y (7) [DISC] (3) Integer[3] $FUN_3 (8) [ALGB] (3) Real[3] $FUN_2 (9) [ALGB] (1) Real $FUN_1 (10) [DISC] (1) Boolean $SEV_2 (11) [ALGB] (3) Real[3] sigRan.y (12) [DISC] (1) Boolean $SEV_1 (13) [ALGB] (1) Real pulse.y (14) [DISC] (1) Boolean $SEV_0 (15) [ALGB] (3) Real[3] sigRan.u (16) [DISC] (1) Boolean $TEV_1 (17) [ALGB] (1) protected Real pulse.T_width = (pulse.width * pulse.period) / 100.0 (18) [DISC] (1) Boolean $TEV_0 system eqns Equations (19/26) ******************************* (1) [SCAL] (1) $FUN_5 = sin(6.283185307179586 * expSine.f * (time - expSine.startTime) + expSine.phase) ($RES_$AUX_11) (2) [SCAL] (1) $FUN_4 = exp(-(time - expSine.startTime) * expSine.damping) ($RES_$AUX_12) (3) [TUPL] (6) ($FUN_2, $FUN_3) = Modelica.Math.Vectors.sort(sigRan.u, false) ($RES_$AUX_13) (4) [SCAL] (1) $FUN_1 = sin(6.283185307179586 * sine.f * (time - sine.startTime) + sine.phase) ($RES_$AUX_14) (5) [SCAL] (1) sine.y = sigRan.u[1] ($RES_SIM_9) (6) [SCAL] (1) pulse.y = sigRan.u[2] ($RES_SIM_8) (7) [SCAL] (1) expSine.y = sigRan.u[3] ($RES_SIM_7) (8) [SCAL] (1) sine.y = sine.offset + (if $TEV_1 then 0.0 else sine.amplitude * $FUN_1) ($RES_SIM_6) (9) [WHEN] (1)when $SEV_2 then (9) [----] pulse.count := $PRE.pulse.count + 1 (9) [----] end when; (10) [SCAL] (1) pulse.T_width = 0.01 * pulse.width * pulse.period ($RES_BND_10) (11) [WHEN] (1)when $SEV_2 then (11) [----] pulse.T_start := time (11) [----] end when; (12) [SCAL] (1) $TEV_0 = time < expSine.startTime ($RES_EVT_15) (13) [SCAL] (1) pulse.y = pulse.offset + (if $SEV_0 then 0.0 else if $SEV_1 then pulse.amplitude else 0.0) ($RES_SIM_3) (14) [SCAL] (1) $TEV_1 = time < sine.startTime ($RES_EVT_16) (15) [ARRY] (3) sigRan.y = $FUN_2 ($RES_SIM_2) (16) [SCAL] (1) $SEV_0 = (time < pulse.startTime or pulse.nperiod == 0) or pulse.nperiod > 0 and pulse.count >= pulse.nperiod ($RES_EVT_17) (17) [SCAL] (1) expSine.y = expSine.offset + (if $TEV_0 then 0.0 else $FUN_4 * expSine.amplitude * $FUN_5) ($RES_SIM_1) (18) [SCAL] (1) $SEV_1 = time < (pulse.T_start + pulse.T_width) ($RES_EVT_18) (19) [SCAL] (1) $SEV_2 = integer((time - pulse.startTime) / pulse.period) > $PRE.pulse.count ($RES_EVT_19) =================== Scalar Matching =================== variable to equation ********************** var 1 --> eqn 14 var 2 --> eqn 24 var 3 --> eqn 16 var 4 --> eqn 1 var 5 --> eqn 2 var 6 --> eqn 13 var 7 --> eqn 3 var 8 --> eqn 4 var 9 --> eqn 5 var 10 --> eqn 8 var 11 --> eqn 7 var 12 --> eqn 6 var 13 --> eqn 9 var 14 --> eqn 26 var 15 --> eqn 20 var 16 --> eqn 21 var 17 --> eqn 22 var 18 --> eqn 25 var 19 --> eqn 18 var 20 --> eqn 23 var 21 --> eqn 10 var 22 --> eqn 11 var 23 --> eqn 12 var 24 --> eqn 19 var 25 --> eqn 15 var 26 --> eqn 17 equation to variable ********************** eqn 1 --> var 4 eqn 2 --> var 5 eqn 3 --> var 7 eqn 4 --> var 8 eqn 5 --> var 9 eqn 6 --> var 12 eqn 7 --> var 11 eqn 8 --> var 10 eqn 9 --> var 13 eqn 10 --> var 21 eqn 11 --> var 22 eqn 12 --> var 23 eqn 13 --> var 6 eqn 14 --> var 1 eqn 15 --> var 25 eqn 16 --> var 3 eqn 17 --> var 26 eqn 18 --> var 19 eqn 19 --> var 24 eqn 20 --> var 15 eqn 21 --> var 16 eqn 22 --> var 17 eqn 23 --> var 20 eqn 24 --> var 2 eqn 25 --> var 18 eqn 26 --> var 14