Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.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.001995/0.001995, allocations: 80.88 kB / 21.56 MB, free: 2.93 MB / 18.57 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.002167/0.002167, allocations: 165.5 kB / 24.97 MB, free: 8.762 MB / 18.57 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.667/1.667, allocations: 177.1 MB / 205.4 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.309/3.309, allocations: 389.5 MB / 0.6361 GB, free: 12.34 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.48e-05/3.48e-05, allocations: 5.828 kB / 0.7759 GB, free: 5.406 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank): time 0.05538/0.05542, allocations: 35.18 MB / 0.8103 GB, free: 2.152 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.2933/0.3487, allocations: 161.9 MB / 0.9684 GB, free: 15.84 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009202/0.3579, allocations: 222.2 kB / 0.9686 GB, free: 15.62 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.01105/0.3689, allocations: 2.598 MB / 0.9711 GB, free: 13.01 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.02308/0.392, allocations: 4.718 MB / 0.9757 GB, free: 8.262 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.01756/0.4096, allocations: 4.553 MB / 0.9802 GB, free: 3.699 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.05066/0.4602, allocations: 27.41 MB / 1.007 GB, free: 8.223 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02872/0.489, allocations: 9.214 MB / 1.016 GB, free: 14.9 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03461/0.5236, allocations: 10.65 MB / 1.026 GB, free: 4.273 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01664/0.5402, allocations: 5.867 MB / 1.032 GB, free: 14.39 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.004822/0.545, allocations: 1.016 MB / 1.033 GB, free: 13.38 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01888/0.5639, allocations: 5.692 MB / 1.039 GB, free: 7.68 MB / 0.9948 GB Notification: Performance of combineBinaries: time 0.02952/0.5934, allocations: 14.07 MB / 1.052 GB, free: 9.543 MB / 1.01 GB Notification: Performance of replaceArrayConstructors: time 0.0133/0.6067, allocations: 7.534 MB / 1.06 GB, free: 1.957 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.005557/0.6123, allocations: 0.6406 MB / 1.06 GB, free: 1.316 MB / 1.01 GB Notification: Performance of FrontEnd: time 0.002265/0.6146, allocations: 226.7 kB / 1.061 GB, free: 1.094 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2338 (1570) * Number of variables: 2338 (1136) Notification: Performance of [SIM] Bindings: time 0.7799/1.394, allocations: 44.86 MB / 1.104 GB, free: 77.33 MB / 1.01 GB Notification: Performance of [SIM] FunctionAlias: time 0.02891/1.423, allocations: 8.788 MB / 1.113 GB, free: 75.98 MB / 1.01 GB Notification: Performance of [SIM] Early Inline: time 0.1235/1.547, allocations: 52.36 MB / 1.164 GB, free: 49.6 MB / 1.01 GB Notification: Performance of [SIM] Simplify 1: time 0.01334/1.56, allocations: 4.117 MB / 1.168 GB, free: 48.25 MB / 1.01 GB Warning: NBAlias.selectStartByConfidence: Alias set with conflicting unfixed start values of equal confidence detected. Use -d=dumprepl for more information. Notification: Performance of [SIM] Alias: time 0.07106/1.631, allocations: 39.89 MB / 1.207 GB, free: 27.46 MB / 1.01 GB Notification: Performance of [SIM] Simplify 2: time 0.007878/1.639, allocations: 3.406 MB / 1.21 GB, free: 25.69 MB / 1.01 GB Notification: Performance of [SIM] Remove Stream: time 0.005142/1.644, allocations: 2.583 MB / 1.213 GB, free: 23.73 MB / 1.01 GB Notification: Performance of [SIM] Detect States: time 0.01048/1.655, allocations: 8.249 MB / 1.221 GB, free: 17.57 MB / 1.01 GB Notification: Performance of [SIM] Events: time 0.003735/1.659, allocations: 3.235 MB / 1.224 GB, free: 15.59 MB / 1.01 GB Notification: Performance of [SIM] Partitioning: time 0.01996/1.679, allocations: 11.2 MB / 1.235 GB, free: 6.238 MB / 1.01 GB Notification: Performance of [SIM] Causalize: time 0.06948/1.748, allocations: 28.89 MB / 1.263 GB, free: 9.824 MB / 1.042 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.05508/1.803, allocations: 26.31 MB / 1.289 GB, free: 15.97 MB / 1.073 GB Notification: Performance of [INI] Simplify: time 0.05668/1.86, allocations: 18.99 MB / 1.307 GB, free: 13.48 MB / 1.089 GB Notification: Performance of [INI] Inline: time 0.1199/1.98, allocations: 54.91 MB / 1.361 GB, free: 7.641 MB / 1.135 GB Notification: Performance of [INI] Partitioning: time 0.003382/1.983, allocations: 404.1 kB / 1.362 GB, free: 7.172 MB / 1.135 GB Notification: Performance of [INI] Cleanup: time 0.03174/2.015, allocations: 12.24 MB / 1.373 GB, free: 11.2 MB / 1.151 GB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [FOR-] (10) ($RES_SIM_3745) [----] for $i1 in 1:10 loop [----] [SCAL] (1) solCol.per.slope = -5.103; ($RES_SIM_3746) [----] end for; slice: {1, 2, 3, 4, 5, 6, 7, 8, 9} [FOR-] (10) ($RES_SIM_3743) [----] for $i1 in 1:10 loop [----] [SCAL] (1) solCol.per.y_intercept = 0.775; ($RES_SIM_3744) [----] end for; slice: {1, 2, 3, 4, 5, 6, 7, 8, 9} [FOR-] (10) ($RES_SIM_3741) [----] for $i1 in 1:10 loop [----] [SCAL] (1) solCol.per.validated = Buildings.Fluid.SolarCollectors.Data.BaseClasses.validateAngles({0.017453292519943295 * ({0.0, 10.0, 20.0, 30.0, 40.0, 50.0, 60.0, 70.0, 80.0, 90.0})[$i1] for $i0 in 1:10}, {1.0, 0.9979, 0.9913, 0.9792, 0.9597, 0.929, 0.8796, 0.7979, 0.724, 0.0}); ($RES_SIM_3742) [----] end for; slice: {1, 2, 3, 4, 5, 6, 7, 8, 9} [FOR-] (100) ($RES_SIM_3717) [----] for $i1 in 1:10 loop [----] [ARRY] (10) solCol.per.incAngDat = 0.017453292519943295 * ({0.0, 10.0, 20.0, 30.0, 40.0, 50.0, 60.0, 70.0, 80.0, 90.0})[$i1]; ($RES_SIM_3718) [----] end for; slice: {1, 2, 3, 4, 5, 6, 7, 8, 9, 11, ...} [FOR-] (10) ($RES_SIM_3715) [----] for $i1 in 1:10 loop [----] [SCAL] (1) solCol.per.dp_nominal = 93.89; ($RES_SIM_3716) [----] end for; slice: {1, 2, 3, 4, 5, 6, 7, 8, 9} [FOR-] (10) ($RES_SIM_3713) [----] for $i1 in 1:10 loop [----] [SCAL] (1) solCol.per.mperA_flow_nominal = 0.0194; ($RES_SIM_3714) [----] end for; slice: {1, 2, 3, 4, 5, 6, 7, 8, 9} [FOR-] (10) ($RES_SIM_3711) [----] for $i1 in 1:10 loop [----] [SCAL] (1) solCol.per.mDry = 42.0; ($RES_SIM_3712) [----] end for; slice: {1, 2, 3, 4, 5, 6, 7, 8, 9} [FOR-] (10) ($RES_SIM_3709) [----] for $i1 in 1:10 loop [----] [SCAL] (1) solCol.per.V = 0.0038; ($RES_SIM_3710) [----] end for; slice: {1, 2, 3, 4, 5, 6, 7, 8, 9} [FOR-] (10) ($RES_SIM_3707) [----] for $i1 in 1:10 loop [----] [SCAL] (1) solCol.per.C = 0.0; ($RES_SIM_3708) [----] end for; slice: {1, 2, 3, 4, 5, 6, 7, 8, 9} [FOR-] (10) ($RES_SIM_3705) [----] for $i1 in 1:10 loop [----] [SCAL] (1) solCol.per.CTyp = Buildings.Fluid.SolarCollectors.Types.HeatCapacity.DryMass; ($RES_SIM_3706) [----] end for; slice: {1, 2, 3, 4, 5, 6, 7, 8, 9} [FOR-] (10) ($RES_SIM_3703) [----] for $i1 in 1:10 loop [----] [SCAL] (1) solCol.per.A = 2.003; ($RES_SIM_3704) [----] end for; slice: {1, 2, 3, 4, 5, 6, 7, 8, 9} [FOR-] (10) ($RES_SIM_3693) [----] for $i1 in 1:10 loop [----] [SCAL] (1) pumCon.per.slope = -3.71; ($RES_SIM_3694) [----] end for; slice: {1, 2, 3, 4, 5, 6, 7, 8, 9} [FOR-] (10) ($RES_SIM_3691) [----] for $i1 in 1:10 loop [----] [SCAL] (1) pumCon.per.y_intercept = 0.762; ($RES_SIM_3692) [----] end for; slice: {1, 2, 3, 4, 5, 6, 7, 8, 9} [FOR-] (10) ($RES_SIM_3689) [----] for $i1 in 1:10 loop [----] [SCAL] (1) pumCon.per.validated = Buildings.Fluid.SolarCollectors.Data.BaseClasses.validateAngles({0.017453292519943295 * ({0.0, 10.0, 20.0, 30.0, 40.0, 50.0, 60.0, 70.0, 80.0, 90.0})[$i1] for $i2 in 1:10}, {1.0, 0.9989, 0.9946, 0.9836, 0.9567, 0.8882, 0.6935, 0.0, 0.0, 0.0}); ($RES_SIM_3690) [----] end for; slice: {1, 2, 3, 4, 5, 6, 7, 8, 9} [FOR-] (100) ($RES_SIM_3665) [----] for $i1 in 1:10 loop [----] [ARRY] (10) pumCon.per.incAngDat = 0.017453292519943295 * ({0.0, 10.0, 20.0, 30.0, 40.0, 50.0, 60.0, 70.0, 80.0, 90.0})[$i1]; ($RES_SIM_3666) [----] end for; slice: {1, 2, 3, 4, 5, 6, 7, 8, 9, 11, ...} [FOR-] (10) ($RES_SIM_3663) [----] for $i1 in 1:10 loop [----] [SCAL] (1) pumCon.per.dp_nominal = 242.65; ($RES_SIM_3664) [----] end for; slice: {1, 2, 3, 4, 5, 6, 7, 8, 9} [FOR-] (10) ($RES_SIM_3661) [----] for $i1 in 1:10 loop [----] [SCAL] (1) pumCon.per.mperA_flow_nominal = 0.1777; ($RES_SIM_3662) [----] end for; slice: {1, 2, 3, 4, 5, 6, 7, 8, 9} [FOR-] (10) ($RES_SIM_3659) [----] for $i1 in 1:10 loop [----] [SCAL] (1) pumCon.per.mDry = 26.0; ($RES_SIM_3660) [----] end for; slice: {1, 2, 3, 4, 5, 6, 7, 8, 9} [FOR-] (10) ($RES_SIM_3657) [----] for $i1 in 1:10 loop [----] [SCAL] (1) pumCon.per.V = 0.0028; ($RES_SIM_3658) [----] end for; slice: {1, 2, 3, 4, 5, 6, 7, 8, 9} [FOR-] (10) ($RES_SIM_3655) [----] for $i1 in 1:10 loop [----] [SCAL] (1) pumCon.per.C = 0.0; ($RES_SIM_3656) [----] end for; slice: {1, 2, 3, 4, 5, 6, 7, 8, 9} [FOR-] (10) ($RES_SIM_3653) [----] for $i1 in 1:10 loop [----] [SCAL] (1) pumCon.per.CTyp = Buildings.Fluid.SolarCollectors.Types.HeatCapacity.DryMass; ($RES_SIM_3654) [----] end for; slice: {1, 2, 3, 4, 5, 6, 7, 8, 9} [FOR-] (10) ($RES_SIM_3651) [----] for $i1 in 1:10 loop [----] [SCAL] (1) pumCon.per.A = 1.97; ($RES_SIM_3652) [----] end for; slice: {1, 2, 3, 4, 5, 6, 7, 8, 9} [FOR-] (4) ($RES_SIM_3646) [----] for $i1 in 0:1 loop [----] [ARRY] (2) pum.eff.per.pressure.dp = 2.0 * (1.0 + (-1.0) * CAST(Real, $i1)) * pum.dp_nominal; ($RES_SIM_3647) [----] end for; slice: {1, 3} [FOR-] (4) ($RES_SIM_3644) [----] for $i1 in 0:1 loop [----] [ARRY] (2) pum.eff.per.pressure.V_flow = pum.m_flow_nominal * (1.0 + (-1.0) * CAST(Real, $i1)) * 2.0 / 995.586; ($RES_SIM_3645) [----] end for; slice: {1, 3} [FOR-] (10) ($RES_SIM_3687) [----] for $i1 in 1:10 loop [----] [SCAL] (1) pumCon.per.incAngModDat[10] = 0.0; ($RES_SIM_3688) [----] end for; slice: {1, 2, 3, 4, 5, 6, 7, 8, 9} [FOR-] (10) ($RES_SIM_3685) [----] for $i1 in 1:10 loop [----] [SCAL] (1) pumCon.per.incAngModDat[9] = 0.0; ($RES_SIM_3686) [----] end for; slice: {1, 2, 3, 4, 5, 6, 7, 8, 9} [FOR-] (10) ($RES_SIM_3683) [----] for $i1 in 1:10 loop [----] [SCAL] (1) pumCon.per.incAngModDat[8] = 0.0; ($RES_SIM_3684) [----] end for; slice: {1, 2, 3, 4, 5, 6, 7, 8, 9} [FOR-] (10) ($RES_SIM_3681) [----] for $i1 in 1:10 loop [----] [SCAL] (1) pumCon.per.incAngModDat[7] = 0.6935; ($RES_SIM_3682) [----] end for; slice: {1, 2, 3, 4, 5, 6, 7, 8, 9} [FOR-] (10) ($RES_SIM_3679) [----] for $i1 in 1:10 loop [----] [SCAL] (1) pumCon.per.incAngModDat[6] = 0.8882; ($RES_SIM_3680) [----] end for; slice: {1, 2, 3, 4, 5, 6, 7, 8, 9} [FOR-] (10) ($RES_SIM_3677) [----] for $i1 in 1:10 loop [----] [SCAL] (1) pumCon.per.incAngModDat[5] = 0.9567; ($RES_SIM_3678) [----] end for; slice: {1, 2, 3, 4, 5, 6, 7, 8, 9} [FOR-] (10) ($RES_SIM_3675) [----] for $i1 in 1:10 loop [----] [SCAL] (1) pumCon.per.incAngModDat[4] = 0.9836; ($RES_SIM_3676) [----] end for; slice: {1, 2, 3, 4, 5, 6, 7, 8, 9} [FOR-] (10) ($RES_SIM_3673) [----] for $i1 in 1:10 loop [----] [SCAL] (1) pumCon.per.incAngModDat[3] = 0.9946; ($RES_SIM_3674) [----] end for; slice: {1, 2, 3, 4, 5, 6, 7, 8, 9} [FOR-] (10) ($RES_SIM_3671) [----] for $i1 in 1:10 loop [----] [SCAL] (1) pumCon.per.incAngModDat[2] = 0.9989; ($RES_SIM_3672) [----] end for; slice: {1, 2, 3, 4, 5, 6, 7, 8, 9} [FOR-] (10) ($RES_SIM_3669) [----] for $i1 in 1:10 loop [----] [SCAL] (1) pumCon.per.incAngModDat[1] = 1.0; ($RES_SIM_3670) [----] end for; slice: {1, 2, 3, 4, 5, 6, 7, 8, 9} [FOR-] (10) ($RES_SIM_3739) [----] for $i1 in 1:10 loop [----] [SCAL] (1) solCol.per.incAngModDat[10] = 0.0; ($RES_SIM_3740) [----] end for; slice: {1, 2, 3, 4, 5, 6, 7, 8, 9} [FOR-] (10) ($RES_SIM_3737) [----] for $i1 in 1:10 loop [----] [SCAL] (1) solCol.per.incAngModDat[9] = 0.724; ($RES_SIM_3738) [----] end for; slice: {1, 2, 3, 4, 5, 6, 7, 8, 9} [FOR-] (10) ($RES_SIM_3735) [----] for $i1 in 1:10 loop [----] [SCAL] (1) solCol.per.incAngModDat[8] = 0.7979; ($RES_SIM_3736) [----] end for; slice: {1, 2, 3, 4, 5, 6, 7, 8, 9} [FOR-] (10) ($RES_SIM_3733) [----] for $i1 in 1:10 loop [----] [SCAL] (1) solCol.per.incAngModDat[7] = 0.8796; ($RES_SIM_3734) [----] end for; slice: {1, 2, 3, 4, 5, 6, 7, 8, 9} [FOR-] (10) ($RES_SIM_3731) [----] for $i1 in 1:10 loop [----] [SCAL] (1) solCol.per.incAngModDat[6] = 0.929; ($RES_SIM_3732) [----] end for; slice: {1, 2, 3, 4, 5, 6, 7, 8, 9} [FOR-] (10) ($RES_SIM_3729) [----] for $i1 in 1:10 loop [----] [SCAL] (1) solCol.per.incAngModDat[5] = 0.9597; ($RES_SIM_3730) [----] end for; slice: {1, 2, 3, 4, 5, 6, 7, 8, 9} [FOR-] (10) ($RES_SIM_3727) [----] for $i1 in 1:10 loop [----] [SCAL] (1) solCol.per.incAngModDat[4] = 0.9792; ($RES_SIM_3728) [----] end for; slice: {1, 2, 3, 4, 5, 6, 7, 8, 9} [FOR-] (10) ($RES_SIM_3725) [----] for $i1 in 1:10 loop [----] [SCAL] (1) solCol.per.incAngModDat[3] = 0.9913; ($RES_SIM_3726) [----] end for; slice: {1, 2, 3, 4, 5, 6, 7, 8, 9} [FOR-] (10) ($RES_SIM_3723) [----] for $i1 in 1:10 loop [----] [SCAL] (1) solCol.per.incAngModDat[2] = 0.9979; ($RES_SIM_3724) [----] end for; slice: {1, 2, 3, 4, 5, 6, 7, 8, 9} [FOR-] (10) ($RES_SIM_3721) [----] for $i1 in 1:10 loop [----] [SCAL] (1) solCol.per.incAngModDat[1] = 1.0; ($RES_SIM_3722) [----] end for; slice: {1, 2, 3, 4, 5, 6, 7, 8, 9} Error: Internal error NBInitialization.main failed to apply modules! " [Timeout remaining time 298] [Calling sys.exit(0), Time elapsed: 8.532803951762617]